pass the CFLAGS through the environment on compile and fix a few packages
[openwrt/svn-archive/archive.git] / package / util-linux / Makefile
index e265edb149830715f000a1745e28c8caa2afe202..ecabbc06fb4233362ff9a542b11911d7da464d00 100644 (file)
@@ -56,6 +56,7 @@ define Package/swap-utils
        - swapoff
 endef
 
+TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib
 define Build/Compile
        $(call Build/Compile/Default, \
                OPT="$(TARGET_CFLAGS)" \