mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 14:54:20 +08:00
Support dynamic linking in pkg-config wrapper
This commit is contained in:
parent
6873df013e
commit
f52180899f
@ -4,4 +4,9 @@ export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_SYSROOT}"
|
||||
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/share/pkgconfig"
|
||||
|
||||
exec pkg-config --static "$@"
|
||||
if [ -n "${COOKBOOK_PREFER_STATIC}" ]
|
||||
then
|
||||
exec pkg-config --static "$@"
|
||||
else
|
||||
exec pkg-config "$@"
|
||||
fi
|
||||
|
||||
@ -4,4 +4,9 @@ export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_SYSROOT}"
|
||||
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/share/pkgconfig"
|
||||
|
||||
exec pkg-config --static "$@"
|
||||
if [ -n "${COOKBOOK_PREFER_STATIC}" ]
|
||||
then
|
||||
exec pkg-config --static "$@"
|
||||
else
|
||||
exec pkg-config "$@"
|
||||
fi
|
||||
|
||||
@ -4,4 +4,9 @@ export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_SYSROOT}"
|
||||
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/share/pkgconfig"
|
||||
|
||||
exec pkg-config --static "$@"
|
||||
if [ -n "${COOKBOOK_PREFER_STATIC}" ]
|
||||
then
|
||||
exec pkg-config --static "$@"
|
||||
else
|
||||
exec pkg-config "$@"
|
||||
fi
|
||||
|
||||
@ -4,4 +4,9 @@ export PKG_CONFIG_SYSROOT_DIR="${COOKBOOK_SYSROOT}"
|
||||
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_SYSROOT_DIR}/lib/pkgconfig"
|
||||
export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/share/pkgconfig"
|
||||
|
||||
exec pkg-config --static "$@"
|
||||
if [ -n "${COOKBOOK_PREFER_STATIC}" ]
|
||||
then
|
||||
exec pkg-config --static "$@"
|
||||
else
|
||||
exec pkg-config "$@"
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user