Subject: adding -l and -framework to ld lines on OS X?
To: None <>
From: Johan A.van Zanten <>
List: pkgsrc-users
Date: 05/03/2007 16:39:09
 I'm trying to build www/firefox from (current) pkgsrc on OS X 10.4.9

 I get errors like:

ld: Undefined symbols:
/usr/bin/libtool: internal link edit command failed

 I think this is because i need to add "-framework CoreFoundation" in the
appropriate place for the linking.

If i work around that problem in an ugly way, i then get errors like this:

/usr/bin/ld: warning -L: directory name
(/Volumes/willbe/pkgsrc/www/firefox/work/.buildlink/lib/firefox) does not
/usr/bin/ld: Undefined symbols:

i think i need to tell at least part of the build to link against glib.

 Where's the best place to add these lines for ld?