libselinux: fix build on non-Linux systems
authorFelix Fietkau <nbd@nbd.name>
Thu, 13 Aug 2020 18:04:34 +0000 (20:04 +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/libselinux/Makefile

index b0b2491cc95a1effbe046183cf6a2a5db2776129..aea1e49e5cb1abf544a254c668d1c790dfa70eb2 100644 (file)
@@ -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)