Skip to content

Commit

Permalink
Link embind (duckdb#1474)
Browse files Browse the repository at this point in the history
So extensions can use it
  • Loading branch information
Y-- authored and vpbs2 committed Jul 1, 2024
1 parent a56b921 commit 6339454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ else()
endif()

if (DUCKDB_WASM_LOADABLE_EXTENSIONS)
set(WASM_LINK_FLAGS "${WASM_LINK_FLAGS} -s MAIN_MODULE=1 -s -s EXPORT_ALL=1 -s FILESYSTEM=1 -s ENVIRONMENT='web,worker' -s ALLOW_TABLE_GROWTH")
set(WASM_LINK_FLAGS "${WASM_LINK_FLAGS} -s MAIN_MODULE=1 -s -s EXPORT_ALL=1 -s FILESYSTEM=1 -s ENVIRONMENT='web,worker' -s ALLOW_TABLE_GROWTH -lembind")
else()
set(WASM_LINK_FLAGS "${WASM_LINK_FLAGS} -s FILESYSTEM=0 -s ENVIRONMENT='web,node,worker'")
endif()
Expand Down Expand Up @@ -256,7 +256,7 @@ add_library(
add_library(
duckdb_web_excel
${CMAKE_SOURCE_DIR}/src/extensions/excel_extension.cc)

add_library(
duckdb_web_json
${CMAKE_SOURCE_DIR}/src/extensions/json_extension.cc)
Expand Down

0 comments on commit 6339454

Please sign in to comment.