4 ms·
Yeah I love pkg-config and static linking is annoying. Generally what I do to get around that is in configure.ac something like: libuvdir=`pkg-config --var
by mitchty 12y ago
Yeah I love pkg-config and static linking is annoying. Generally what I do to get around that is in configure.ac something like:
libuvdir=`pkg-config --variable=libdir libuv`
LIBS="$LIBS $libuvdir/libuv.a"
That tends to work well enough for my needs. I gate it with a --build-static flag so that I can run off shared if I want to or not.
I'd rather take pkg-config+autotools over any of these newfangled options. Going to take a lot to sway me over from a tried and true option across osx/linux/solaris/eh fine hpux too but just cause i'm in a good mood.