1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:48:26 +02:00

export PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR by default (#3376)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12029 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-07-31 01:33:01 +00:00
parent 195d365bb1
commit 36b9971821

View File

@ -42,6 +42,9 @@ ifneq ($(strip $(PKG_UNPACK)),)
endef endef
endif endif
export PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR_HOST)/usr/lib/pkgconfig
export PKG_CONFIG_LIBDIR=$(STAGING_DIR)/usr/lib/pkgconfig
CONFIGURE_PREFIX:=/usr CONFIGURE_PREFIX:=/usr
CONFIGURE_ARGS = \ CONFIGURE_ARGS = \
--target=$(GNU_TARGET_NAME) \ --target=$(GNU_TARGET_NAME) \
@ -67,8 +70,8 @@ CONFIGURE_VARS = \
CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR_HOST)/usr/lib/pkgconfig" \ PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig" PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)"
CONFIGURE_PATH = . CONFIGURE_PATH = .
CONFIGURE_CMD = ./configure CONFIGURE_CMD = ./configure