From: brian m. carlson Date: Sun, 26 Apr 2020 19:47:29 GMT Subject: Re: Git configure with static curl is failing Message-ID: <20200426194729.GD6421@camp.crustytoothpaste.net> In-Reply-To: <9d9fe8376e47a9f5330cd644c76d96987fc67c57.camel@mad-scientist.net> On 2020-04-26 at 19:01:54, Paul Smith wrote: > The problem appears to be that configure.ac is not using curl-config to > obtain the correct options to link with curl. If I run > /other/curl/bin/curl-config --lib I get the proper flags: > > $ /other/curl/bin/curl-config --libs > -L/other/curl/lib -lcurl -lssl -lz -lcrypto -ldl -lpthread > > If configure.ac tried to use $CURLDIR/bin/curl-config --libs to obtain > the right linker options, then the link test for curl would work. It doesn't surprise me that configure.ac doesn't use curl-config. The configure script is generally not used by the main developers in favor of just using the makefile itself. While we should fix that, the makefile does use curl-config, so if you just use it with any appropriate options without running configure, it will probably work for you. -- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204