tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.92k stars 329 forks source link

macports: broken pkg-config symlinks #434

Open stefantalpalaru opened 1 month ago

stefantalpalaru commented 1 month ago

These symbolic links target absolute paths, so they are broken in an osxcross prefix:

# find /opt/osxcross/macports/pkgs/opt/local/lib/pkgconfig -type l -exec test ! -e {} \; -exec ls -l {} \;
lrwxrwxrwx 1 root root 52 Oct 19 11:26 /opt/osxcross/macports/pkgs/opt/local/lib/pkgconfig/openssl.pc -> /opt/local/libexec/openssl3/lib/pkgconfig/openssl.pc
lrwxrwxrwx 1 root root 95 Oct 19 11:26 /opt/osxcross/macports/pkgs/opt/local/lib/pkgconfig/python-3.12-embed.pc -> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/pkgconfig/python-3.12-embed.pc
lrwxrwxrwx 1 root root 54 Oct 19 11:26 /opt/osxcross/macports/pkgs/opt/local/lib/pkgconfig/libcrypto.pc -> /opt/local/libexec/openssl3/lib/pkgconfig/libcrypto.pc
lrwxrwxrwx 1 root root 51 Oct 19 11:26 /opt/osxcross/macports/pkgs/opt/local/lib/pkgconfig/libssl.pc -> /opt/local/libexec/openssl3/lib/pkgconfig/libssl.pc
lrwxrwxrwx 1 root root 89 Oct 19 11:26 /opt/osxcross/macports/pkgs/opt/local/lib/pkgconfig/python-3.12.pc -> /opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/pkgconfig/python-3.12.pc