diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2005-12-30 15:53:02 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2005-12-30 15:53:02 +0000 |
commit | e7951f4593b947ffa76d9d2f2e94becf24eb4e4b (patch) | |
tree | 2dc19c525840b3748ffb8b7ab5ef1e730af9446f /scripts/pkg-config-wrapper | |
parent | aecb65147d7248bf355c2f898aadec9dd14ea40e (diff) | |
download | ptxdist-e7951f4593b947ffa76d9d2f2e94becf24eb4e4b.tar.gz ptxdist-e7951f4593b947ffa76d9d2f2e94becf24eb4e4b.tar.xz |
* cleanups
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.9-trunk@3617 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'scripts/pkg-config-wrapper')
-rwxr-xr-x | scripts/pkg-config-wrapper | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/scripts/pkg-config-wrapper b/scripts/pkg-config-wrapper index f0895a8fb..bd081b155 100755 --- a/scripts/pkg-config-wrapper +++ b/scripts/pkg-config-wrapper @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh PKGCONFIG=/usr/bin/pkg-config @@ -13,6 +13,8 @@ fi export PKG_CONFIG_LIBDIR export PKG_CONFIG_PATH +export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 +export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 [ "$PTXDIST_DEBUG" = "1" ] && echo "$PKGCONFIG $*" >&2 @@ -31,16 +33,12 @@ $PKGCONFIG $* | sed -e "s~[\t ]\-l~ -Wl,-l~g;" # 4) if [ "$?" = "0" ]; then - - echo "-----pkg-config-wrapper-----" >&2 + #echo "-----pkg-config-wrapper-----" >&2 #echo "PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR" >&2 - echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >&2 - echo "----------------------------" >&2 + #echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >&2 + #echo "----------------------------" >&2 exit 0; - else - echo "pkg-config failed!" >&2 exit 1 - fi |