From: Jo-Philipp Wich Date: Wed, 19 Aug 2009 01:23:12 +0000 (+0000) Subject: libs/iwinfo: use dummy if $(SDK) is set X-Git-Tag: 0.10.0~1175 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2cabcb4be083e1b5d48b531f29a232477d261703;p=oweals%2Fluci.git libs/iwinfo: use dummy if $(SDK) is set --- diff --git a/libs/iwinfo/Makefile b/libs/iwinfo/Makefile index 77299471d..2d775230d 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)