[packages] kamailio: define CROSS_COMPILE=1 to prevent sourcing host pg_config

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28938 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-11-10 15:07:08 +00:00
parent 786da81b41
commit 4703102a85

View File

@ -109,6 +109,7 @@ define Build/Compile
SYSBASE="$(STAGING_DIR)/usr" \
PCREDEFS:="$(TARGET_CPPFLAGS)" \
PCRELIBS:="$(TARGET_LDFLAGS)" \
CROSS_COMPILE=1 \
all
$(MAKE) -C $(PKG_BUILD_DIR) $(PKG_MAKE_ARGS) \
DESTDIR="$(PKG_INSTALL_DIR)" \