Skip to content

Commit b51dec3

Browse files
committed
xz: needs -fpic
1 parent 4e3d8d3 commit b51dec3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lzma.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ if(xz_build_system STREQUAL cmake)
1717
-DCMAKE_BUILD_TYPE=Release
1818
-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
1919
-DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
20+
-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=on
2021
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
2122
)
2223

0 commit comments

Comments
 (0)