PATH:
usr
/
share
#! /bin/sh # pkg-config wrapper for cross-building # Sets pkg-config search path to search multiarch and historical cross-compiling paths. # If the user has already set PKG_CONFIG_LIBDIR, believe it (even if empty): # it's documented to be an override if [ x"${PKG_CONFIG_LIBDIR+set}" = x ]; then # GNU triplet for the compiler, e.g. i486-linux-gnu for Debian i386, # i686-linux-gnu for Ubuntu i386 basename="$(basename "$0")" triplet="${basename%-pkg-config}" # Normalized multiarch path if any, e.g. i386-linux-gnu for i386 multiarch="$(dpkg-architecture -t"${triplet}" -qDEB_HOST_MULTIARCH 2>/dev/null)" if [ "$?" != 0 ]; then echo "Please install dpkg-dev to use pkg-config when cross-building" >&2 exit 1 fi # Native multiarch path native_multiarch="$(cat /usr/lib/pkg-config.multiarch)" # This can be used for native builds as well, in that case, just exec pkg-config "$@" directly. if [ "$native_multiarch" = "$multiarch" ]; then exec pkg-config "$@" fi PKG_CONFIG_LIBDIR="/usr/local/${triplet}/lib/pkgconfig" # For a native build we would also want to append /usr/local/lib/pkgconfig # at this point; but this is a cross-building script, so don't PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR:/usr/local/share/pkgconfig" if [ -n "$multiarch" ]; then PKG_CONFIG_LIBDIR="/usr/local/lib/${multiarch}/pkgconfig:$PKG_CONFIG_LIBDIR" PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR:/usr/lib/${multiarch}/pkgconfig" fi PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR:/usr/${triplet}/lib/pkgconfig" # For a native build we would also want to append /usr/lib/pkgconfig # at this point; but this is a cross-building script, so don't # If you want to allow use of un-multiarched -dev packages for crossing # (at the risk of finding build-arch stuff you didn't want, if not in a clean chroot) # Uncomment the next line: # PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR:/usr/lib/pkgconfig" # ... but on Ubuntu we rely cross-building with non-multiarch libraries: if dpkg-vendor --derives-from Ubuntu; then PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR:/usr/lib/pkgconfig" fi PKG_CONFIG_LIBDIR="$PKG_CONFIG_LIBDIR:/usr/share/pkgconfig" export PKG_CONFIG_LIBDIR fi exec pkg-config "$@"
[+]
dotnet
[+]
git-core
[+]
gitweb
[+]
javascript
[+]
language-selector
[+]
perl
[+]
unattended-upgrades
[+]
glib-2.0
[+]
openssh
[+]
.mono
[+]
polkit-1
[+]
fwupd
[+]
libdbi-perl
[+]
ModemManager
[+]
apt-file
[+]
keyrings
[+]
libtool
[+]
language-support
[+]
mono
[+]
GraphicsMagick-1.3.35
[+]
mecab
[+]
color
[+]
dbus-1
[+]
common-licenses
[+]
rsyslog
[+]
licenses
[+]
pam
[+]
emacs
[+]
netfilter-persistent
[+]
debianutils
[+]
gettext
[+]
nghttp2
[+]
publicsuffix
[+]
misc
[+]
sounds
[+]
perl5
[+]
file
[+]
devhelp
[+]
zoneinfo
[+]
java
[+]
lua
[+]
perl-openssl-defaults
[+]
systemd
[+]
python3
[+]
lua5.3
[+]
base-files
[+]
ufw
[+]
debhelper
[+]
autoconf
[+]
ghostscript
[-] pkg-config-crosswrapper
[edit]
[+]
fish
[+]
build-essential
[+]
nginx
[+]
rsync
[+]
libc-bin
[+]
mono-2.0
[+]
gettext-0.19.8
[+]
zabbix-agent
[+]
man
[+]
thumbnailers
[+]
awk
[+]
snapd
[+]
defaults
[+]
secureboot
[+]
grub-gfxpayload-lists
[+]
apps
[+]
gcc
[+]
icons
[+]
pixmaps
[+]
consoletrans
[+]
xml
[+]
alt-common-release
[+]
fonts-droid-fallback
[+]
adduser
[+]
gnupg
[+]
debconf
[+]
mysqlsh
[+]
python-apt
[+]
keyutils
[+]
bug
[+]
zsh
[+]
calendar
[+]
alsa
[+]
cryptsetup
[+]
netplan
[+]
fonts
[+]
ubuntu-release-upgrader
[+]
os-prober
[+]
aspell
[+]
themes
[+]
sensible-utils
[+]
finalrd
[+]
base-passwd
[+]
dpkg
[+]
aclocal-1.16
[+]
GConf
[+]
landscape
[+]
initramfs-tools
[+]
doc-base
[+]
emacsen-common
[+]
libthai
[+]
locales
[+]
package-data-downloads
[+]
icu
[+]
applications
[+]
dictionaries-common
[+]
freetds
[+]
ca-certificates
[+]
hal
[+]
vim
[+]
console-setup
[+]
python
[+]
sgml
[+]
..
[+]
firebird3.0-common
[+]
libdrm
[+]
locale
[+]
gdb
[+]
gtk-doc
[+]
terminfo
[+]
readline
[+]
binfmts
[+]
byobu
[+]
apport
[+]
menu
[+]
iso-codes
[+]
needrestart
[+]
nfs-common
[+]
info
[+]
pam-configs
[-] av-userside-plugin.sh
[edit]
[+]
popularity-contest
[+]
language-tools
[+]
tabset
[+]
poppler
[+]
update-notifier
[+]
mc
[+]
i18n
[+]
X11
[+]
plymouth
[+]
consolefonts
[+]
groff
[+]
man-db
[+]
iptables
[+]
imunify360
[+]
lintian
[+]
mime
[+]
snmp
[+]
smartmontools
[+]
automake-1.16
[+]
doc
[+]
bash-completion
[+]
dns
[+]
enchant-2
[+]
ssl-cert
[+]
dict
[-] pkg-config-dpkghook
[edit]
[+]
mysql-8.0
[+]
usb_modeswitch
[+]
distro-info
[+]
PackageKit
[+]
nano
[+]
metainfo
[+]
aclocal
[+]
zoneinfo-icu
[+]
pyshared
[+]
python-wheels
[+]
mdadm
[+]
dovecot
[+]
hunspell
[+]
pastebin.d
[+]
quota
[+]
open-vm-tools
[+]
locale-langpack
[+]
imunify-notifier
[+]
screen
[+]
cmake
[+]
pkgconfig
[+]
grub
[+]
apache2
[+]
fontconfig
[+]
cli-common