[openwrt/openwrt] libsepol: fix build on non-Linux systems
LEDE Commits
lede-commits at lists.infradead.org
Thu Aug 13 14:08:50 EDT 2020
nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2a9fb827aa2a1213e2eae465fd24c6a829b35501
commit 2a9fb827aa2a1213e2eae465fd24c6a829b35501
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Aug 13 20:03:43 2020 +0200
libsepol: fix build on non-Linux systems
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/libs/libsepol/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/libs/libsepol/Makefile b/package/libs/libsepol/Makefile
index cd49ed008d..5309523659 100644
--- a/package/libs/libsepol/Makefile
+++ b/package/libs/libsepol/Makefile
@@ -36,7 +36,8 @@ HOST_MAKE_FLAGS += \
SHLIBDIR=$(STAGING_DIR_HOSTPKG)/lib
MAKE_FLAGS += \
- SHLIBDIR=/usr/lib
+ SHLIBDIR=/usr/lib \
+ OS=Linux
define Build/Compile
$(call Build/Compile/Default,all)
More information about the lede-commits
mailing list