Skip to content

Commit

Permalink
fix #3898 by adding -fPIC to xz-embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
ntorresalberto committed Jan 27, 2025
1 parent 25db344 commit 584bae1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 3rd-party/xz-decoder/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ add_library(xz-embedded STATIC
xz-embedded/linux/lib/xz/xz_dec_stream.c
)

set_property(TARGET xz-embedded PROPERTY POSITION_INDEPENDENT_CODE ON)

target_include_directories(xz-embedded INTERFACE
xz-embedded/linux/include/linux)

0 comments on commit 584bae1

Please sign in to comment.