Skip to content

Commit 0b2b902

Browse files
committed
Enable PIC
1 parent 33eb188 commit 0b2b902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/ruby/ext/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
$(TARGET_SO): #{libs.join(" ")}
2020
#{libs.join(" ")}: cmake-targets
2121
cmake-targets:
22-
#{"\t"}#{cmake} -S sources -B build -D BUILD_SHARED_LIBS=OFF -D CMAKE_ARCHIVE_OUTPUT_DIRECTORY=#{__dir__}
22+
#{"\t"}#{cmake} -S sources -B build -D BUILD_SHARED_LIBS=OFF -D CMAKE_ARCHIVE_OUTPUT_DIRECTORY=#{__dir__} -D CMAKE_POSITION_INDEPENDENT_CODE=ON
2323
#{"\t"}#{cmake} --build build --config Release --target common whisper
2424
EOF
2525
end

0 commit comments

Comments
 (0)