a9da5a0bd3
In order to not have the offending local _ZNSs4_Rep20_S_empty_rep_storageE symbol in ucpcmis1.uno.so, build it and statically linked libcmis with hidden visibility.
43 lines
922 B
Diff
43 lines
922 B
Diff
--- misc/libcmis-0.1.0/src/libcmis/makefile.mk 2011-10-05 10:55:51.349325061 +0200
|
|
+++ misc/build/libcmis-0.1.0/src/libcmis/makefile.mk 2011-10-05 10:54:58.290853952 +0200
|
|
@@ -1 +1,39 @@
|
|
-dummy
|
|
+EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
|
|
+
|
|
+PRJ=..$/..$/..$/..$/..$/..
|
|
+
|
|
+PRJNAME=libcmis
|
|
+TARGET=cmislib
|
|
+ENABLE_EXCEPTIONS=TRUE
|
|
+VISIBILITY_HIDDEN=TRUE
|
|
+LIBTARGET=NO
|
|
+
|
|
+.INCLUDE : settings.mk
|
|
+
|
|
+.IF "$(GUI)$(COM)"=="WNTMSC"
|
|
+CFLAGS+=-GR
|
|
+.ENDIF
|
|
+.IF "$(COM)"=="GCC"
|
|
+CFLAGSCXX+=-frtti
|
|
+.ENDIF
|
|
+
|
|
+.IF "$(SYSTEM_LIBXML)"=="YES"
|
|
+CFLAGS+=$(LIBXML_CFLAGS)
|
|
+.ENDIF
|
|
+.IF "$(SYSTEM_CURL)"=="YES"
|
|
+CFLAGS+=$(CURL_CFLAGS)
|
|
+.ENDIF
|
|
+
|
|
+SLOFILES= \
|
|
+ $(SLO)$/session-factory.obj \
|
|
+ $(SLO)$/atom-document.obj \
|
|
+ $(SLO)$/atom-folder.obj \
|
|
+ $(SLO)$/atom-object.obj \
|
|
+ $(SLO)$/atom-session.obj \
|
|
+ $(SLO)$/atom-utils.obj
|
|
+
|
|
+LIB1ARCHIV=$(LB)$/libcmislib.a
|
|
+LIB1TARGET=$(SLB)$/$(TARGET).lib
|
|
+LIB1OBJFILES= $(SLOFILES)
|
|
+
|
|
+.INCLUDE : target.mk
|