diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/mozilla/minimo/host_ldflags_fix.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/mozilla/minimo/host_ldflags_fix.patch')
-rw-r--r-- | packages/mozilla/minimo/host_ldflags_fix.patch | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/packages/mozilla/minimo/host_ldflags_fix.patch b/packages/mozilla/minimo/host_ldflags_fix.patch index e69de29bb2..06028c9bf9 100644 --- a/packages/mozilla/minimo/host_ldflags_fix.patch +++ b/packages/mozilla/minimo/host_ldflags_fix.patch @@ -0,0 +1,59 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- mozilla/nsprpub/config/rules.mk~host_ldflags_fix.patch ++++ mozilla/nsprpub/config/rules.mk +@@ -87,6 +87,9 @@ + CCC=$(HOST_CXX) + CFLAGS=$(HOST_CFLAGS) + CXXFLAGS=$(HOST_CXXFLAGS) ++LDFLAGS=$(HOST_LDFLAGS) ++RANLIB=$(HOST_RANLIB) ++AR=$(HOST_AR) + endif + endif + endif +--- mozilla/configure.in~host_ldflags_fix.patch ++++ mozilla/configure.in +@@ -5496,12 +5496,17 @@ + + if test -n "$CROSS_COMPILE"; then + if test -z "$HOST_LIBIDL_CONFIG"; then ++ AC_MSG_WARN([HOST_LIBIDL_CONFIG not defined]) + HOST_LIBIDL_CONFIG="$LIBIDL_CONFIG" + fi + if test -n "$HOST_LIBIDL_CONFIG"; then ++ AC_MSG_WARN([using $HOST_LIBIDL_CONFIG as config for libIDL on host]) + HOST_LIBIDL_CFLAGS=`${HOST_LIBIDL_CONFIG} --cflags` ++ AC_MSG_WARN([HOST_LIBIDL_CFLAGS=$HOST_LIBIDL_CFLAGS]) + HOST_LIBIDL_LIBS=`${HOST_LIBIDL_CONFIG} --libs` ++ AC_MSG_WARN([HOST_LIBIDL_LIBS=$HOST_LIBIDL_LIBS]) + else ++ AC_MSG_WARN([no config for libIDL found, using LIBIDL_CFLAGS and LIBIDL_LIBS]) + HOST_LIBIDL_CFLAGS="$LIBIDL_CFLAGS" + HOST_LIBIDL_LIBS="$LIBIDL_LIBS" + fi +--- mozilla/configure~host_ldflags_fix.patch ++++ mozilla/configure +@@ -16289,11 +16289,18 @@ + + if test -n "$CROSS_COMPILE"; then + if test -z "$HOST_LIBIDL_CONFIG"; then ++ echo "HOST_LIBIDL_CONFIG nto defined" + HOST_LIBIDL_CONFIG="$LIBIDL_CONFIG" + fi +- if test -n "$HOST_LIBIDL_CONFIG"; then ++ if test -n "$HOST_LIBIDL_CONFIG" && test -n "$HOST_PKG_CONFIG_PATH"; then ++ echo "using $HOST_LIBIDL_CONFIG as HOST_LIBIDL_CONFIG with HOST_PKG_CONFIG_PATH=$HOST_PKG_CONFIG_PATH" ++ _SAVE_PKG_CONFIG_PATH=$PKG_CONFIG_PATH ++ PKG_CONFIG_PATH=$HOST_PKG_CONFIG_PATH + HOST_LIBIDL_CFLAGS=`${HOST_LIBIDL_CONFIG} --cflags` ++ echo "HOST_LIBIDL_CFLAGS = $HOST_LIBIDL_CFLAGS" + HOST_LIBIDL_LIBS=`${HOST_LIBIDL_CONFIG} --libs` ++ echo "HOST_LIBIDL_LIBS = $HOST_LIBIDL_LIBS" ++ PKG_CONFIG_PATH=$_SAVE_PKG_CONFIG_PATH + else + HOST_LIBIDL_CFLAGS="$LIBIDL_CFLAGS" + HOST_LIBIDL_LIBS="$LIBIDL_LIBS" |