diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-22 12:31:59 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-22 15:01:05 -0400 |
commit | efa5c24753ec5cec4c8b73a36441190b24d85e6d (patch) | |
tree | 37dc75aa92d4c1ff4f8ed71c038c2a89590b57e4 /hints | |
parent | 4628b054802150024a463d6599c11ecea33cc8c4 (diff) | |
download | perl-efa5c24753ec5cec4c8b73a36441190b24d85e6d.tar.gz |
For Darwin MacPorts add the gcc/g++ libdir.
Diffstat (limited to 'hints')
-rw-r--r-- | hints/darwin.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index 724fb361b5..7f555ff3b5 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -331,6 +331,11 @@ i_dbm=undef; # NeilW says this should be acceptable on all darwin versions. ranlib='ranlib' +# Catch MacPorts gcc/g++ extra libdir +case "$($cc -v 2>&1)" in +*"MacPorts gcc"*) loclibpth="$loclibpth /opt/local/lib/libgcc" ;; +esac + ## # Build process ## |