mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
Don't use '--exclude-libs' linker option on DARWIN
Only GNU linker supports this option Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
d5c43d9c75
commit
760f5874ca
@ -94,7 +94,9 @@ python_PYTHON += pybind/cephfs.py
|
||||
libcephfs_la_SOURCES = libcephfs.cc
|
||||
libcephfs_la_LIBADD = $(LIBCLIENT) $(LIBCOMMON) $(PTHREAD_LIBS) $(CRYPTO_LIBS) $(EXTRALIBS)
|
||||
libcephfs_la_LDFLAGS = ${AM_LDFLAGS} -version-info 1:0:0 -export-symbols-regex '^ceph_.*'
|
||||
if LINUX
|
||||
libcephfs_la_LDFLAGS += -Xcompiler -Xlinker -Xcompiler '--exclude-libs=libcommon.a'
|
||||
endif # LINUX
|
||||
lib_LTLIBRARIES += libcephfs.la
|
||||
|
||||
# jni library (java source is in src/java)
|
||||
|
Loading…
Reference in New Issue
Block a user