aboutsummaryrefslogtreecommitdiff
path: root/ports/netcdf-c/fix_curl_linkage.patch
diff options
context:
space:
mode:
authorAlexander Neumann <Alexander.Neumann@hamburg.de>2019-03-14 22:30:51 +0100
committerAlexander Neumann <Alexander.Neumann@hamburg.de>2019-03-14 22:30:51 +0100
commit0e898fe892a054eac39aec1fae911e6235fbddfa (patch)
treec86d0d390dd4b8461269ea2400e9f912783966aa /ports/netcdf-c/fix_curl_linkage.patch
parent4de9cb0f1b37489e05873634945bde1aa2036e2d (diff)
downloadvcpkg-0e898fe892a054eac39aec1fae911e6235fbddfa.tar.gz
vcpkg-0e898fe892a054eac39aec1fae911e6235fbddfa.zip
update netcdf-c tp 4.6.2 and fixed curl linkage
Diffstat (limited to 'ports/netcdf-c/fix_curl_linkage.patch')
-rw-r--r--ports/netcdf-c/fix_curl_linkage.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/netcdf-c/fix_curl_linkage.patch b/ports/netcdf-c/fix_curl_linkage.patch
new file mode 100644
index 000000000..09fead1f0
--- /dev/null
+++ b/ports/netcdf-c/fix_curl_linkage.patch
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index eb0bc26b..f1409fc6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -783,6 +783,7 @@ IF(ENABLE_DAP)
+
+ ADD_DEFINITIONS(-DCURL_STATICLIB=1)
+ INCLUDE_DIRECTORIES(${CURL_INCLUDE_DIRS})
++ LINK_LIBRARIES(${CURL_LIBRARIES})
+
+ # Check to see if CURLOPT_USERNAME is defined.
+ # It is present starting version 7.19.1.