I may be dim here but I can't figure out how to do the following under the Darwin linker. I have some
code that be linked against the static versions of a
library and on linux can easily do this by passing the
compiler...
-Xlinker -Bstatic $(PYTHON_LDFLAGS) -Xlinker -Bdynamic
which causes the -lpython2.2 in PYTHON_LDFLAGS to favor libpython2.2.a over libpython2.2.dylib. Hopefully this is doable in Darwin.
I spent a while trying to figure this out and the best solution I could come up with
was to explicitly put the name of the .a file (e.g. /sw/lib/libpython2.2.a) into the
linker flags. Not very satisfying, but it works. There's probably a better way but
I didn't notice it.
Cheers, -n8
-- >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
