mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
split up libc and libc++ for static links
This commit is contained in:
parent
f0cb152c19
commit
ce2341ab1c
1 changed files with 7 additions and 2 deletions
|
@ -73,10 +73,15 @@ endif()
|
|||
|
||||
set(LIBS ${SODIUM_LIB} pthread)
|
||||
|
||||
if(STATIC_LIBS)
|
||||
set(LIBS ${LIBS} ${STATIC_LIBS})
|
||||
if(STATIC_LIBC)
|
||||
set(LIBS ${LIBS} ${STATIC_LIBC})
|
||||
endif()
|
||||
|
||||
if(STATIC_LIBCXX)
|
||||
set(LIBS ${LIBS} ${STATIC_LIBCXX})
|
||||
endif()
|
||||
|
||||
|
||||
set(LIB llarp)
|
||||
set(SHARED_LIB ${LIB})
|
||||
set(STATIC_LIB ${LIB}-static)
|
||||
|
|
Loading…
Reference in a new issue