Skip to content

Commit

Permalink
curl-config: quote directories with potential space
Browse files Browse the repository at this point in the history
On Windows (at least with CMake), the default prefix is
C:/Program Files (x86)/CURL.

Closes curl#9253
  • Loading branch information
orgads authored and bagder committed Aug 10, 2022
1 parent 55a138a commit 3adc9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curl-config.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
###########################################################################

prefix=@prefix@
prefix="@prefix@"
exec_prefix=@exec_prefix@
includedir=@includedir@
cppflag_curl_staticlib=@CPPFLAG_CURL_STATICLIB@
Expand Down Expand Up @@ -174,7 +174,7 @@ while test $# -gt 0; do

--static-libs)
if test "X@ENABLE_STATIC@" != "Xno" ; then
echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@
echo "@libdir@/libcurl.@libext@" @LDFLAGS@ @LIBCURL_LIBS@
else
echo "curl was built with static libraries disabled" >&2
exit 1
Expand Down

0 comments on commit 3adc9f3

Please sign in to comment.