I'm trying to build a static SSL-enabled libcurl.a on OS X 10.11 (TO TARGET 10.8):
export MACOSX_DEPLOYMENT_TARGET="10.8"
./configure --disable-shared --with-darwinssl
make clean
make
sudo make install
But despite no errors (a few warnings), I can't locate anywhere on the hard disk where a new libcurl.a has been built. What am I missing?
Daniel solved the problem -- I haven't done Make Install...
FOLLOW-UP:
My whole purpose for building a libcurl.a with --disable-share was to break the dependency on the libcurl.4.dylib. But just linking with libcurl.a creates a dependency to /opt/local/lib/libcurl.4.dylib.
See my post for the answer.
make install to install the newly built stuff, and then it'll install under /usr/local by default - which you can change with configure's --prefix optionmake install with default path, the lib will be in /usr/local/lib. Or $prefix/lib really since you can alter the prefix.make install, the static library is usually found in the lib/.libs subdirectory.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With