Skip to contentSkip to conversation

package/libglib2: check for selinux

PATCH New aduskett at gmail.com 3 participants 3 messages Mar 19, 2019 – Mar 27, 2019

lore
Share & tools
lore
#0 lore raw

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.

---
 package/libglib2/libglib2.mk | 7 +++++++
 1 file changed, 7 insertions(+)
package/libglib2/libglib2.mk +7 -0
index d34bfabd52..63bfec32d6 100644
@@ -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
#1 lore raw

PATCH 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.

---
 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
#2 lore raw

PATCH 1/1 package/libglib2: check for selinux

In reply to aduskett at gmail.com
Quoted 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.

Committed to 2019.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard