mirror of https://gitee.com/bigwinds/arangodb
Removing unnecessary library "z" by cross-compiling
This commit is contained in:
parent
f18f21c7d4
commit
7abe288086
|
@ -90,7 +90,11 @@ elseif (UNIX AND NOT APPLE)
|
|||
set(LINUX TRUE)
|
||||
set(OS_DEFINE "OS_LINUX")
|
||||
set(POSIX_FLAG "-DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX")
|
||||
set(SYSTEM_LIBS pthread rt z)
|
||||
if (CROSS_COMPILING)
|
||||
set(SYSTEM_LIBS pthread rt)
|
||||
else()
|
||||
set(SYSTEM_LIBS pthread rt z)
|
||||
endif ()
|
||||
elseif (CMAKE_SYSTEM_NAME MATCHES "kFreeBSD.*")
|
||||
set(FREEBSD TRUE)
|
||||
set(OS_DEFINE "OS_FREEBSD")
|
||||
|
|
Loading…
Reference in New Issue