aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/duckdb/library-linkage-httpfs.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/duckdb/library-linkage-httpfs.diff')
-rw-r--r--vcpkg/ports/duckdb/library-linkage-httpfs.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/duckdb/library-linkage-httpfs.diff b/vcpkg/ports/duckdb/library-linkage-httpfs.diff
new file mode 100644
index 0000000..99daec9
--- /dev/null
+++ b/vcpkg/ports/duckdb/library-linkage-httpfs.diff
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 40a19e8..8b75d40 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -49,6 +49,10 @@ else()
+ endif()
+
+
++set_target_properties(httpfs_loadable_extension PROPERTIES EXCLUDE_FROM_ALL 1)
++if(BUILD_SHARED_LIBS)
++ return()
++endif()
+ install(
+ TARGETS httpfs_extension
+ EXPORT "${DUCKDB_EXPORT_SET}"