libsepol: fix build on non-Linux systems
authorFelix Fietkau <nbd@nbd.name>
Thu, 13 Aug 2020 18:03:43 +0000 (20:03 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 13 Aug 2020 18:08:29 +0000 (20:08 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/libs/libsepol/Makefile

index cd49ed008dec181250002c7f41bdee3696a046fa..53095236590d65f41eb18c15db7241f1f1e829a3 100644 (file)
@@ -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)