Skip to content

Commit 5d4428b

Browse files
committed
cont : set -fPIC for httplib
1 parent 4ed353f commit 5d4428b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vendor/cpp-httplib/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ find_package(Threads REQUIRED)
55

66
llama_add_compile_flags()
77

8+
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
9+
810
add_library(${TARGET} STATIC httplib.cpp httplib.h)
911

1012
# disable warnings in 3rd party code

0 commit comments

Comments
 (0)