Skip to content

Commit c1b9e5c

Browse files
committed
Enable PIC in Oniguruma
1 parent 60c3d88 commit c1b9e5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/cmake/modules/PHP/Package/Oniguruma.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ macro(_php_package_oniguruma_download)
6666
-DINSTALL_DOCUMENTATION=OFF
6767
-DBUILD_TEST=OFF
6868
-DBUILD_SHARED_LIBS=OFF
69+
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
6970
)
7071

7172
ExternalProject_Add(

0 commit comments

Comments
 (0)