You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/22 23:44:24 UTC

[GitHub] [arrow] wjones127 commented on a diff in pull request #13404: ARROW-16510: [R] Add bindings for GCS filesystem

wjones127 commented on code in PR #13404:
URL: https://github.com/apache/arrow/pull/13404#discussion_r904397786


##########
r/configure.win:
##########
@@ -104,6 +105,10 @@ function configure_dev() {
     PKG_CFLAGS="$PKG_CFLAGS -DARROW_R_WITH_S3"
   fi
 
+  if [ $(cmake_option ARROW_GCS) -eq 1 ]; then
+    PKG_CFLAGS="$PKG_CFLAGS -DARROW_R_WITH_GCS -DCURL_STATICLIB"
+  fi

Review Comment:
   I think we should be able to let pkg-config handle adding the flags and libraries for libcurl:
   
   ```suggestion
     if [ $(cmake_option ARROW_GCS) -eq 1 ]; then
       PKG_CFLAGS="$PKG_CFLAGS -DARROW_R_WITH_GCS"
       PKG_CONFIG_PACKAGES="$PKG_CONFIG_PACKAGES libcurl"
     fi
   ```



-- 
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-unsubscribe@arrow.apache.org

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