[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47868: www/libproxy does not compile on Solaris 10
On 29.05.13 23:50, Thomas Klausner wrote:
Can you fix this by using
CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-lnsl -lsocket"
in the pkgsrc Makefile (or something similar)?
I tried providing this via environment variable, but that got overwritten...
With this change, technically the package builds (with the ugly fix for
the other problem). But: Without the patch, this is the definition found
CMAKE_EXE_LINKER_FLAGS:STRING= -L/usr/lib -Wl,-R/usr/lib
With the change, this is the definition:
Luckily, libproxy.so does not seem to need any other library from
pkgsrc, otherwise the run time linker would have a hard time finding it.
So maybe in this case this is a fix, but it is not a general solution
that would work in other situations.
Main Index |
Thread Index |