Skip to content

Commit 8a334e5

Browse files
committed
Try setting the so->a
1 parent 02e7981 commit 8a334e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ endif ()
166166
if(EMSCRIPTEN)
167167
# ENV (https://github.com/emscripten-core/emscripten/commit/6d9681ad04f60b41ef6345ab06c29bbc9eeb84e0)
168168
set(EMSCRIPTEN_FEATURES "${EMSCRIPTEN_FEATURES} -s \"EXTRA_EXPORTED_RUNTIME_METHODS=[ENV']\"")
169-
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
169+
set(CMAKE_SHARED_LIBRARY_SUFFIX ".a")
170170
endif()
171171

172172
find_package(CppInterOp REQUIRED CONFIG PATHS "${CMAKE_PREFIX_PATH}" "${CMAKE_PREFIX_PATH}/lib" "${CPPINTEROP_DIR}" "${CPPINTEROP_DIR}/lib")

0 commit comments

Comments
 (0)