X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2eb90f0fa74b82c8aa5272e20e96c23f2f4da15e..8cfceab612ec83d1d3e3602ca5d3dec3dbb7ecc6:/package/iw/Makefile diff --git a/package/iw/Makefile b/package/iw/Makefile index e4878a0e2..6d9f09dce 100644 --- a/package/iw/Makefile +++ b/package/iw/Makefile @@ -32,8 +32,8 @@ define Build/Configure endef MAKE_FLAGS += \ - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/mac80211 -I$(STAGING_DIR)/usr/include/libnl -I$(STAGING_DIR)/usr/include" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -lnl" + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/mac80211 -I$(STAGING_DIR)/usr/include/libnl $(TARGET_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) -lnl" ifneq ($(CONFIG_LINUX_2_6),) define Package/iw/install