Thanks for that! That's a really good workaround. I'm productive again! :-)
Maybe I'm misunderstanding things but shouldn't libtool understand "-F"?
It knows how to interpret -framework and -F goes with that as much as -L
goes along with -l for normal linking.
Matthew
On Tue, 2 Aug 2005, Matthew Landauer wrote:
Using libtool 1.5.18 on OS X 10.4:
% libtool --mode=link g++ -module -o foo.la -rpath /usr/local/lib
-F/foo -framework frame
Runs:
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
.libs/foo.0.0.0.so -bundle -framework frame
But would expect it to be something like:
g++ ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o
.libs/foo.0.0.0.so -bundle -F/foo -framework frame
Try using
-Wc,-F/foo -Wl,-F/foo
rather than just
-F/foo
Libtool needs to parse the command line, and it only knows about
common compiler/linker command options. The -Wc/-Wl approach allows
the user to be explicit about the options which should be passed to
the compiler or linker.
Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED],
http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
--
Dr. Matthew Landauer
Visual Appliance Limited
www.visualappliance.com
+61 (0)8 8223 1268
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool