We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33eb188 commit 0b2b902Copy full SHA for 0b2b902
bindings/ruby/ext/extconf.rb
@@ -19,7 +19,7 @@
19
$(TARGET_SO): #{libs.join(" ")}
20
#{libs.join(" ")}: cmake-targets
21
cmake-targets:
22
- #{"\t"}#{cmake} -S sources -B build -D BUILD_SHARED_LIBS=OFF -D CMAKE_ARCHIVE_OUTPUT_DIRECTORY=#{__dir__}
+ #{"\t"}#{cmake} -S sources -B build -D BUILD_SHARED_LIBS=OFF -D CMAKE_ARCHIVE_OUTPUT_DIRECTORY=#{__dir__} -D CMAKE_POSITION_INDEPENDENT_CODE=ON
23
#{"\t"}#{cmake} --build build --config Release --target common whisper
24
EOF
25
end
0 commit comments