--- curl-7.72.0/curl-config.in.multilib 2020-08-17 01:28:40.000000000 +0300 +++ curl-7.72.0/curl-config.in 2020-08-21 09:16:11.470669555 +0300 @@ -76,7 +76,7 @@ ;; --cc) - echo "@CC@" + echo "gcc" ;; --prefix) @@ -155,17 +155,9 @@ ;; --libs) - if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then - CURLLIBDIR="-L@libdir@ " - else - CURLLIBDIR="" - fi - if test "X@ENABLE_SHARED@" = "Xno"; then - echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@ - else - echo ${CURLLIBDIR}-lcurl - fi + pkg-config libcurl --libs ;; + --ssl-backends) echo "@SSL_BACKENDS@" ;;