From: Andrew P. <at...@pi...> - 2014-09-18 19:51:42
|
On Thu, Sep 18, 2014 at 12:24:12PM +0200, Gustaf Neumann wrote: > Am 17.09.14 23:19, schrieb Andrew Piskorski: > > The Naviserver makefiles often definite a LIB variable, e.g.: > > > > LIB = nsthread > What is the exact problem you see: is it the case, when LIB is set > in a Makefile (as cited), or is the problem, when it is *not* set. Both. When Naviserver sets LIB for its current "library name" purpose, one, that prevents me from using it for the Windows linker, AND I think the Windows linker still sees it and could break because of it. Also, currently in my Windows build work I NEED to set LIB for the Windows linker to use. Without it the linker fails. There may be some other way to get the Windows linker to do the right thing but right now my only solution is to set its LIB environment variable correctly. So as they stand in my sandbox right now, LIB is actually used for two entirely DIFFERENT purposes in the Linux vs. Windows parts of the makefiles! That's very confusing, and definitely something I want to fix. Right now in my sandbox I'm able to build the Naviserver nsthread module on Windows 7 64-bit, but my changes definitely break the Linux build. So I will revisit that, get it cleaned up, and commit to a fork on Bitbucket so others can actually see what I'm doing. As part of that I'll try to better verify what LIB is doing and think harder about what a good fix is. -- Andrew Piskorski <at...@pi...> |