aboutsummaryrefslogtreecommitdiff
path: root/development/pkgconf/platform-pkg-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'development/pkgconf/platform-pkg-config.in')
-rw-r--r--development/pkgconf/platform-pkg-config.in18
1 files changed, 6 insertions, 12 deletions
diff --git a/development/pkgconf/platform-pkg-config.in b/development/pkgconf/platform-pkg-config.in
index 1cc5917d5e9d..ffb18eb38a34 100644
--- a/development/pkgconf/platform-pkg-config.in
+++ b/development/pkgconf/platform-pkg-config.in
@@ -1,14 +1,8 @@
-#!/bin/sh
-
-# Simple wrapper to tell pkgconf to behave as a platform-specific version of pkg-config
+# pkgconf personality to behave as a platform-specific version of pkg-config
# Platform: @TARGET_PLATFORM@
-PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-@PKGCONF_LIBDIRS@}"
-PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-@PKGCONF_SYSLIBDIR@}"
-PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-@PKGCONF_SYSINCDIR@}"
-
-export PKG_CONFIG_LIBDIR
-export PKG_CONFIG_SYSTEM_LIBRARY_PATH
-export PKG_CONFIG_SYSTEM_INCLUDE_PATH
-
-exec pkgconf "$@"
+Triplet: @TARGET_PLATFORM@
+SysrootDir: /
+DefaultSearchPaths: @PKGCONF_LIBDIRS@
+SystemIncludePaths: @PKGCONF_SYSINCDIR@
+SystemLibraryPaths: @PKGCONF_SYSLIBDIR@