jeroen commented on PR #13404:
URL: https://github.com/apache/arrow/pull/13404#issuecomment-1163655426

   I think `find_package()` is supposed to shell out to `pkg-config --cflags 
libcurl` and `pkg-config --libs libcurl` which should automatically include the 
macro and static libraries when nee. For example with rtools40 I see:
   
   ```
   $ pkg-config --cflags libcurl
   -DCURL_STATICLIB -IC:/rtools40/ucrt64/include
   
   $ pkg-config --libs libcurl
   -LC:/rtools40/ucrt64/lib -LD:/a/_temp/msys/msys64/ucrt64/lib -lcurl 
-lnormaliz -lssh2 -lcrypt32 -lgdi32 -lws2_32 -lssl -lcrypto -lws2_32 -lgdi32 
-lcrypt32 -lz -lssl -lcrypto -lssl -lcrypto -lws2_32 -lgdi32 -lcrypt32 -lgdi32 
-lcrypt32 -lwldap32 -lz -lws2_32
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to