kou commented on code in PR #36551:
URL: https://github.com/apache/arrow/pull/36551#discussion_r1260499177


##########
r/tools/autobrew:
##########
@@ -62,7 +62,7 @@ fi
 # Hardcode this for my custom autobrew build
 rm -f $BREWDIR/lib/*.dylib
 AWS_LIBS="-laws-cpp-sdk-config -laws-cpp-sdk-transfer 
-laws-cpp-sdk-identity-management -laws-cpp-sdk-cognito-identity 
-laws-cpp-sdk-sts -laws-cpp-sdk-s3 -laws-cpp-sdk-core -laws-c-event-stream 
-laws-checksums -laws-c-common -laws-crt-cpp -laws-c-io -laws-c-s3 -laws-c-auth 
-laws-c-http -laws-c-cal -laws-c-compression -laws-c-mqtt -lpthread -lcurl"
-PKG_LIBS="-lparquet -larrow_dataset -larrow_acero -larrow 
-larrow_bundled_dependencies -lthrift -lbrotlienc-static -lbrotlidec-static 
-lbrotlicommon-static -llz4 -lsnappy -lzstd $AWS_LIBS"
+PKG_LIBS="-lparquet -larrow_dataset -larrow_acero -larrow 
-larrow_bundled_dependencies -lthrift -lbrotlienc-static -lbrotlidec-static 
-lbrotlicommon-static -llz4 -lsnappy -lzstd -lssl -lcrypto $AWS_LIBS"

Review Comment:
   The following order may be better because `-lcurl` will use `-lssl -lcrypto`:
   
   ```suggestion
   PKG_LIBS="-lparquet -larrow_dataset -larrow_acero -larrow 
-larrow_bundled_dependencies -lthrift -lbrotlienc-static -lbrotlidec-static 
-lbrotlicommon-static -llz4 -lsnappy -lzstd $AWS_LIBS -lssl -lcrypto"
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to