Le 10 d�c. 2003, � 18:15, Benjamin Reed a �crit :

generally you get things like this with the default LDFLAGS from fink packages. You could try:

NoSetLDFLAGS: true
SetLIBS: -L%p/lib
...that might make it so the /sw/lib ends up after the other. Otherwise, you might have to hack the Makefile (well Makefile.in, to make it reproducible) to make sure that the source tree version gets found first.

That's where it gets tricky, 'cause I need the LDFLAGS from fink to link against libxml2 (libxml++ is just a C++ wrapper for it).
I tried to only do the NoSetLDFLAGS and it did the trick because libxml++ uses pkgconfig to get the right compilation and link flags.


But I'm not really satisfied by this. I mean, it's just luck if it worked...
Anyway, I'll post the .info file in the tracker


Thank you for your help (second time on the same lib :)

Olivier Bonnet



-------------------------------------------------------
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

Reply via email to