pkgconf/platform-pkg-config.in
Neal Gompa febf7cca50 - Update to 1.6.1
+ Fixed an issue where a personality may not be properly selected
    due to argv[0] containing a full path.
  + Fixed a regression where having an empty PKG_CONFIG_LIBDIR
    environment variable would not eliminate the default search
    paths.
  + Use POSIX realpath(3) instead of readlink() for deduplicating the
    search path.  Use _fullpath() on Windows for the same purpose.
  + The dequoting logic for tuples has been improved to ensure that
    quotes *inside* a value remain quoted when necessary.
  + Fixed issue where packages which referenced missing packages in
    Requires.private may have crashed due to memory corruption issues
    in some circumstances.
  + Fixed warnings reported by GCC 8 diagnostics.
  + Add LIBPKGCONF_VERSION and LIBPKGCONF_VERSION_STR macros for
    determining libpkgconf version.
  + Add pkgconf_fragment_copy_list() to copy a fragment list to
    another fragment list.
  + Fix edge cases for path canonicalization (especially on Windows)
- Add personality.d directories for cross-targets
- Add pkgconf rpm macros for pkgconf directories
- Simplify platform-pkg-config wrapper to work with POSIX sh

OBS-URL: https://build.opensuse.org/package/show/devel:tools/pkgconf?expand=0&rev=8
2019-05-01 12:42:47 +00:00

11 lines
406 B
Bash

#!/bin/sh
# Simple wrapper to tell pkgconf to behave as a platform-specific version of pkg-config
# Platform: @TARGET_PLATFORM@
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-@PKGCONF_LIBDIRS@}"
export PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-@PKGCONF_SYSLIBDIR@}"
export PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-@PKGCONF_SYSINCDIR@}"
exec pkgconf "$@"