Commit 01e2e31c authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

linux libxml inner

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63857 954022d7-b5bf-4e40-9824-e11837661b57
parent 419a1b1d
...@@ -47,9 +47,10 @@ shared { ...@@ -47,9 +47,10 @@ shared {
LIBS += -L$$DESTDIR -lASCOfficeUtilsLib LIBS += -L$$DESTDIR -lASCOfficeUtilsLib
LIBS += -L$$DESTDIR -lgraphics LIBS += -L$$DESTDIR -lgraphics
LIBS += -L$$DESTDIR -llibxml
LIBS += -L$$DESTDIR -lPdfWriter LIBS += -L$$DESTDIR -lPdfWriter
include(../DesktopEditor/xml/build/qt/libxml2.pri)
message(dynamic) message(dynamic)
win32 { win32 {
...@@ -64,7 +65,12 @@ shared { ...@@ -64,7 +65,12 @@ shared {
linux-g++ | linux-g++-64 | linux-g++-32 { linux-g++ | linux-g++-64 | linux-g++-32 {
CONFIG += plugin CONFIG += plugin
TARGET_EXT = .so TARGET_EXT = .so
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CFLAGS += -fvisibility=hidden
} }
} else {
LIBS += -L$$DESTDIR -llibxml
} }
################################################ ################################################
......
...@@ -50,7 +50,8 @@ shared { ...@@ -50,7 +50,8 @@ shared {
LIBS += -L$$DESTDIR -lASCOfficeUtilsLib LIBS += -L$$DESTDIR -lASCOfficeUtilsLib
LIBS += -L$$DESTDIR -lgraphics LIBS += -L$$DESTDIR -lgraphics
LIBS += -L$$DESTDIR -llibxml
include(../DesktopEditor/xml/build/qt/libxml2.pri)
message(dynamic) message(dynamic)
...@@ -65,8 +66,14 @@ shared { ...@@ -65,8 +66,14 @@ shared {
linux-g++ | linux-g++-64 | linux-g++-32 { linux-g++ | linux-g++-64 | linux-g++-32 {
CONFIG += plugin CONFIG += plugin
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CFLAGS += -fvisibility=hidden
TARGET_EXT = .so TARGET_EXT = .so
} }
} else {
LIBS += -L$$DESTDIR -llibxml
} }
################################################ ################################################
......
...@@ -13,6 +13,9 @@ TEMPLATE = lib ...@@ -13,6 +13,9 @@ TEMPLATE = lib
#CONFIG += staticlib #CONFIG += staticlib
CONFIG += shared CONFIG += shared
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CFLAGS += -fvisibility=hidden
############### destination path ############### ############### destination path ###############
DESTINATION_SDK_PATH = $$PWD/../SDK/lib DESTINATION_SDK_PATH = $$PWD/../SDK/lib
...@@ -47,7 +50,8 @@ shared { ...@@ -47,7 +50,8 @@ shared {
LIBS += -L$$DESTDIR -lASCOfficeUtilsLib LIBS += -L$$DESTDIR -lASCOfficeUtilsLib
LIBS += -L$$DESTDIR -lgraphics LIBS += -L$$DESTDIR -lgraphics
LIBS += -L$$DESTDIR -llibxml
#include(../DesktopEditor/xml/build/qt/libxml2.pri)
message(dynamic) message(dynamic)
...@@ -62,8 +66,14 @@ shared { ...@@ -62,8 +66,14 @@ shared {
linux-g++ | linux-g++-64 | linux-g++-32 { linux-g++ | linux-g++-64 | linux-g++-32 {
CONFIG += plugin CONFIG += plugin
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CFLAGS += -fvisibility=hidden
TARGET_EXT = .so TARGET_EXT = .so
} }
} else {
#LIBS += -L$$DESTDIR -llibxml
} }
################################################ ################################################
......
...@@ -47,9 +47,10 @@ shared { ...@@ -47,9 +47,10 @@ shared {
LIBS += -L$$DESTDIR -lASCOfficeUtilsLib LIBS += -L$$DESTDIR -lASCOfficeUtilsLib
LIBS += -L$$DESTDIR -lgraphics LIBS += -L$$DESTDIR -lgraphics
LIBS += -L$$DESTDIR -llibxml
LIBS += -L$$DESTDIR -lPdfWriter LIBS += -L$$DESTDIR -lPdfWriter
include(../DesktopEditor/xml/build/qt/libxml2.pri)
message(dynamic) message(dynamic)
win32 { win32 {
...@@ -63,8 +64,14 @@ shared { ...@@ -63,8 +64,14 @@ shared {
linux-g++ | linux-g++-64 | linux-g++-32 { linux-g++ | linux-g++-64 | linux-g++-32 {
CONFIG += plugin CONFIG += plugin
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CFLAGS += -fvisibility=hidden
TARGET_EXT = .so TARGET_EXT = .so
} }
} else {
LIBS += -L$$DESTDIR -llibxml
} }
################################################ ################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment