Skip to content

Commit aa086b0

Browse files
committed
Build libsamplerate with -fPIC
1 parent a28ce1a commit aa086b0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

external/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ FetchContent_Declare(
1010
FetchContent_MakeAvailable(pybind11)
1111

1212
# libsamplerate
13+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
1314
set(BUILD_TESTING OFF CACHE BOOL "Disable libsamplerate test build")
1415

1516
FetchContent_Declare(

0 commit comments

Comments
 (0)