After screwing this for a while, I must conclude that I am unable to
link Mahogany against locally compiled wxWindows in any clean way. How
do you do it? Linux linker allows one to put absolute path to a library
into executable, but there is no way to do this with current makefiles.
I need to use headers from wxWindows source directory, because "make
install" triggers recompilation of everything that #includes wxWindows.

Let's see what I have tried. First, with-wxdir parameter does strictly
nothing, because I pointed it to 2.5 build directory and I got build
against system-wide 2.4 headers and .so library. There is also
with-wx-config that actually compiles/links against wxWindows 2.5, but I
have to use LD_LIBRARY_PATH and it compiles against installed headers.
Adding 2.4 to LD_LIBRARY_PATH would hide library in /usr/lib. It could
be worked around with scripts, but this is getting really messy.

I repeat, it is always possible to use absolute paths to libraries on
Linux, given suitable linker parameters.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to