summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-19 01:23:12 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-19 01:23:12 +0000
commit2cabcb4be083e1b5d48b531f29a232477d261703 (patch)
treee766f0c164f2e5acad1a866003d3ad4589923527 /libs
parent405d42a40c186134fcb605bd99fe9e6293164a3e (diff)
libs/iwinfo: use dummy if $(SDK) is set
Diffstat (limited to 'libs')
-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)