[package] libevent: move headers and libs to a specific sub-folder

And update nfs-kernel-server to use these new headers location

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32918 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian
2012-07-30 15:40:18 +00:00
parent 240e8535de
commit eeb3b43999
2 changed files with 8 additions and 6 deletions

View File

@ -67,8 +67,10 @@ define Package/nfs-utils/description
Updated mount.nfs command - allows mounting nfs4 volumes
endef
TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib -I$(STAGING_DIR)/usr/include -Drpc_uint=uint
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(LIBRPC)
TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/lib -I$(STAGING_DIR)/usr/include/libevent \
-I$(STAGING_DIR)/usr/include/ -Drpc_uint=uint
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(LIBRPC) \
-L$(STAGING_DIR)/usr/lib/libevent
CONFIGURE_ARGS += \
--disable-gss \