Merge pull request #13

010a215 pro: link against libunwind (redfish)
74a9065 pro: option for static build (redfish)
This commit is contained in:
Riccardo Spagni 2016-09-10 12:51:39 +02:00
commit 70397e271f
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -69,8 +69,10 @@ win32 {
} }
linux { linux {
CONFIG(static) {
LIBS+= -Wl,-Bstatic
}
LIBS+= \ LIBS+= \
-Wl,-Bstatic \
-lboost_serialization \ -lboost_serialization \
-lboost_thread \ -lboost_thread \
-lboost_system \ -lboost_system \
@ -82,6 +84,7 @@ linux {
-lssl \ -lssl \
-lcrypto \ -lcrypto \
-Wl,-Bdynamic \ -Wl,-Bdynamic \
-lunwind \
-ldl -ldl
} }