Skip to content

Commit

Permalink
Specify CURL_STATICLIB explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 5, 2024
1 parent 33b0ab2 commit f296051
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/scripts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ build() {
mkdir -p ${cpp_build_dir}
pushd ${cpp_build_dir}

# We use static cURL. If we can use cURL's CMake package, we don't need to
# specify CURL_STATICLIB explicitly. But we don't have cURL's CMake package.
# The Rtools libutf8proc is a static lib, but Findutf8proc.cmake doesn't
# set the appropriate compiler definition.
export CPPFLAGS="-DUTF8PROC_STATIC"
export CPPFLAGS="-DCURL_STATICLIB -DUTF8PROC_STATIC"

# CMAKE_UNITY_BUILD is set to OFF as otherwise some compute functionality
# segfaults in tests
Expand Down

0 comments on commit f296051

Please sign in to comment.