Making .lib import libraries with libtool

2009-02-20 Thread LRN
I have a project that uses autoconf/automake/libtool, and it produces shared libraries (on Windows that would be .dll) and static libraries (.a). Which modifications are necessary for it to start outputing .lib libraries (the ones that could be linked with link.exe) along with .dll's? I can hack co

$ORIGIN support for Libtool

2009-02-20 Thread Ethan Mallove
Hi, I am using the run-time linker $ORIGIN variable with Libtool in an apparently unsupported way to create relocatable objects. After Libtool generates a "libtool" script, I am commenting out the below lines: func_fatal_help "\`$destdir' must be an absolute directory name" func_fatal_error "on