export PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR by default (#3376)
SVN-Revision: 12029
This commit is contained in:
parent
cf2cd1c384
commit
a2c17f1bc5
1 changed files with 5 additions and 2 deletions
|
@ -42,6 +42,9 @@ ifneq ($(strip $(PKG_UNPACK)),)
|
|||
endef
|
||||
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_ARGS = \
|
||||
--target=$(GNU_TARGET_NAME) \
|
||||
|
@ -67,8 +70,8 @@ CONFIGURE_VARS = \
|
|||
CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
|
||||
CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
|
||||
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR_HOST)/usr/lib/pkgconfig" \
|
||||
PKG_CONFIG_LIBDIR="$(STAGING_DIR)/usr/lib/pkgconfig"
|
||||
PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \
|
||||
PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)"
|
||||
|
||||
CONFIGURE_PATH = .
|
||||
CONFIGURE_CMD = ./configure
|
||||
|
|
Loading…
Reference in a new issue