summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo
diff options
context:
space:
mode:
Diffstat (limited to 'libs/iwinfo')
-rw-r--r--libs/iwinfo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/iwinfo/Makefile b/libs/iwinfo/Makefile
index 77299471d0..2d775230db 100644
--- a/libs/iwinfo/Makefile
+++ b/libs/iwinfo/Makefile
@@ -15,7 +15,7 @@ IWINFO_OBJ = src/iwinfo_wl.o src/iwinfo_madwifi.o src/iwinfo_wext.o src/i
%.o: %.c
$(COMPILE) $(IWINFO_CFLAGS) $(LUA_CFLAGS) $(FPIC) -c -o $@ $<
-ifeq ($(OS),Linux)
+ifeq ($(SDK),)
compile: clean $(IWINFO_OBJ)
$(LINK) $(SHLIB_FLAGS) $(IWINFO_LDFLAGS) -o src/$(IWINFO_SO) $(IWINFO_OBJ)
mkdir -p dist$(LUA_LIBRARYDIR)