From c935cbac699726e3ad016e43917ec832e3226c9b Mon Sep 17 00:00:00 2001
From: Matteo Varalta <matteo.varalta@txtgroup.com>
Date: 周二, 23 4月 2019 17:07:40 +0800
Subject: [PATCH] Porting to Centos 7: xfs file system, cmake 2.8.11 in example, static linking for -lgcc_s

---
 CMakeLists.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49fcd95..36c3611 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -98,6 +98,7 @@
 	    list(APPEND EXTERNAL_LIBS ${DBUS_LIBRARIES})
 	endif(USE_DBUS_IDENTIFIER)    
 	list(APPEND EXTERNAL_LIBS dl)
+	list(APPEND EXTERNAL_LIBS "-Wl,-Bdynamic")
 endif(NOT MSVC)
 
 configure_file (

--
Gitblit v1.9.1