I'm trying to pass some options to the linker using -Wl,opt1,opt2,.... Libtool is not placing the -Wl, in front of each argument because in the generated libtool script, wl="". If I manually replace that with wl="-Wl," it prepends arguments with it as expected.
bash-3.00$ uname -a CYGWIN_NT-5.1 maxwell 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin bash-3.00$ ../libtool --version cygpath: can't convert empty path ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool