]> git.ipfire.org Git - thirdparty/curl.git/commit
configure: fix runtime-lib detection on macOS
authorBernhard Walle <bernhard.walle@ncp-e.com>
Wed, 17 Nov 2021 10:40:41 +0000 (11:40 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 18 Nov 2021 10:27:48 +0000 (11:27 +0100)
commitba0657c343f0c3eff28f7d56cff3196c6443e0b9
tree2fc0e5bb3c1e455ffdcb21cf3c59779e193425a2
parentf99a4c759f521614b07c58468503cda81751470d
configure: fix runtime-lib detection on macOS

With a non-standard installation of openssl we get this error:

    checking run-time libs availability... failed
    configure: error: one or more libs available at link-time are not available run-time. Libs used at link-time: -lnghttp2 -lssl -lcrypto -lssl -lcrypto -lz

There's already code to set LD_LIBRARY_PATH on Linux, so set
DYLD_LIBRARY_PATH equivalent on macOS.

Closes #8028
m4/curl-functions.m4