aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-08-13 20:03:43 +0200
committerFelix Fietkau <nbd@nbd.name>2020-08-13 20:08:29 +0200
commit2a9fb827aa2a1213e2eae465fd24c6a829b35501 (patch)
treea3cfaad1ace4dd3d52d91ee8b6e23d1b68c42879
parenta36965347ef53f03fd6dd16f03420b3fd86e3a0e (diff)
downloadupstream-2a9fb827aa2a1213e2eae465fd24c6a829b35501.tar.gz
upstream-2a9fb827aa2a1213e2eae465fd24c6a829b35501.tar.bz2
upstream-2a9fb827aa2a1213e2eae465fd24c6a829b35501.zip
libsepol: fix build on non-Linux systems
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/libs/libsepol/Makefile3
1 files changed, 2 insertions, 1 deletions
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)