package/libglib2: check for selinux
PATCH 1/1 package/libglib2: check for selinux
From: Adam Duskett <[email protected]>
If libselinux is selected, explicitly set --enable-selinux in the configure options and build the library first.
Signed-off-by Adam Duskett <[email protected]>
--- package/libglib2/libglib2.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/libglib2/libglib2.mk +7 -0
@@ -137,6 +137,13 @@ LIBGLIB2_CONF_OPTS += --with-libiconv=gnu LIBGLIB2_DEPENDENCIES += libiconv endif +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LIBGLIB2_CONF_OPTS += --enable-selinux +LIBGLIB2_DEPENDENCIES += libselinux +else +LIBGLIB2_CONF_OPTS += --disable-selinux +endif + # Purge gdb-related files ifneq ($(BR2_PACKAGE_GDB),y) define LIBGLIB2_REMOVE_GDB_FILES
Signature · 1 line
2.20.1
Thomas Petazzoni
AppliedPATCH 1/1 package/libglib2: check for selinux
Quoted 9 lines · On Tue, 19 Mar 2019 11:31:49 -0400 aduskett at gmail.com wrote:
From: Adam Duskett <[email protected]>
If libselinux is selected, explicitly set --enable-selinux in the configure options and build the library first.
Signed-off-by Adam Duskett <[email protected]>--- package/libglib2/libglib2.mk | 7 +++++++ 1 file changed, 7 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/libglib2: check for selinux
In reply to aduskett at gmail.comQuoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"aduskett" == aduskett <[email protected]> writes:
From: Adam Duskett <[email protected]>
If libselinux is selected, explicitly set --enable-selinux in the configure options and build the library first.Signed-off-by Adam Duskett <[email protected]>
Committed to 2019.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard