Skip to content

Commit

Permalink
Fix exec linker flags of fbthrift
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinglu committed Feb 4, 2024
1 parent 1543fcf commit b73c101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/externals/fbthrift.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ExternalProject_Add(
CMAKE_COMMAND env PATH=${CMAKE_INSTALL_PREFIX}/bin:$ENV{PATH} ${CMAKE_COMMAND}
CMAKE_ARGS
${common_cmake_args}
"-DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ -static-libgcc"
"-DCMAKE_EXE_LINKER_FLAGS=-static-libstdc++ -static-libgcc -Wl,-rpath=\$ORIGIN/../lib:\$ORIGIN/../lib64"
-DCMAKE_BUILD_TYPE=Release
-DBoost_NO_BOOST_CMAKE=ON
-Denable_tests=OFF
Expand Down

0 comments on commit b73c101

Please sign in to comment.