mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon/selinux.c: Fix compilation when no libselinux
/usr/bin/ld: /tmp/ccvSGq6E.ltrans7.ltrans.o:(.data.rel.ro+0x1f8): undefined reference to `optgroup_selinuxrelabel_available'
The reason is that we didn't include optgroup_selinuxrelabel_available
on the fallback / no libselinux code path.
Reported-by: David Runge
Thanks: Toolybird
Fixes: https://github.com/libguestfs/libguestfs/issues/290
Fixes: commit ed40333a23
This commit is contained in:
committed by
rwmjones
parent
29162f5fe5
commit
548af2929e
@@ -94,5 +94,6 @@ do_getcon (void)
|
||||
#else /* !HAVE_LIBSELINUX */
|
||||
|
||||
OPTGROUP_SELINUX_NOT_AVAILABLE
|
||||
OPTGROUP_SELINUXRELABEL_NOT_AVAILABLE
|
||||
|
||||
#endif /* !HAVE_LIBSELINUX */
|
||||
|
||||
Reference in New Issue
Block a user