Skip to content

Commit f200194

Browse files
committed
Make scratchcpp-audio a shared library
Should fix this build error: ld: warning: libminiaudio.so, needed by ../../scratchcpp-render/libscratchcpp/libscratchcpp.so, not found (try using -rpath or -rpath-link)
1 parent 205c672 commit f200194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/audio/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
option(LIBSCRATCHCPP_AUDIO_SUPPORT "Audio support" ON)
22

3-
add_library(scratchcpp-audio STATIC)
3+
add_library(scratchcpp-audio SHARED)
44
set(MINIAUDIO_SRC internal/thirdparty/miniaudio)
55

66
if (LIBSCRATCHCPP_AUDIO_SUPPORT)

0 commit comments

Comments
 (0)