[openwrt/openwrt] libselinux: fix build on non-Linux systems

LEDE Commits lede-commits at lists.infradead.org
Thu Aug 13 14:08:51 EDT 2020


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/072c5876c521670ed9f7f486dd9e38507358e186

commit 072c5876c521670ed9f7f486dd9e38507358e186
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Aug 13 20:04:34 2020 +0200

    libselinux: fix build on non-Linux systems
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/libs/libselinux/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/libselinux/Makefile b/package/libs/libselinux/Makefile
index b0b2491cc9..aea1e49e5c 100644
--- a/package/libs/libselinux/Makefile
+++ b/package/libs/libselinux/Makefile
@@ -50,6 +50,7 @@ HOST_MAKE_FLAGS += \
 MAKE_FLAGS += \
 	FTS_LDLIBS=-lfts \
 	SHLIBDIR=/usr/lib \
+	OS=Linux
 
 define Build/Compile
 	$(call Build/Compile/Default,all)



More information about the lede-commits mailing list