diff options
Diffstat (limited to 'meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in')
-rw-r--r-- | meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in index d4ac71dff2..4fc9b0a4a7 100644 --- a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in +++ b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-esdk.in | |||
@@ -5,6 +5,7 @@ | |||
5 | if [ "pkg-config-native" = "`basename $0`" ] ; then | 5 | if [ "pkg-config-native" = "`basename $0`" ] ; then |
6 | PKG_CONFIG_PATH="@PATH_NATIVE@" | 6 | PKG_CONFIG_PATH="@PATH_NATIVE@" |
7 | PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" | 7 | PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" |
8 | unset PKG_CONFIG_SYSROOT_DIR | ||
8 | else | 9 | else |
9 | # in this case check if we are in the esdk | 10 | # in this case check if we are in the esdk |
10 | if [ "$OE_SKIP_SDK_CHECK" = "1" ] ; then | 11 | if [ "$OE_SKIP_SDK_CHECK" = "1" ] ; then |
@@ -15,8 +16,9 @@ else | |||
15 | if ( echo $parentpid_info | grep -q check-lxdialog ) ; then | 16 | if ( echo $parentpid_info | grep -q check-lxdialog ) ; then |
16 | PKG_CONFIG_PATH="@PATH_NATIVE@" | 17 | PKG_CONFIG_PATH="@PATH_NATIVE@" |
17 | PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" | 18 | PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@" |
19 | unset PKG_CONFIG_SYSROOT_DIR | ||
18 | fi | 20 | fi |
19 | fi | 21 | fi |
20 | fi | 22 | fi |
21 | 23 | ||
22 | pkg-config "$@" | 24 | pkg-config.real "$@" |