summaryrefslogtreecommitdiffstats
path: root/dilos/tdevelop/debian/patches/dilos.patch
blob: 6fb6885b5fa025fd857c65100d725cf342700d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: tdevelop/cmake/modules/TDEMacros.cmake
===================================================================
--- tdevelop.orig/cmake/modules/TDEMacros.cmake
+++ tdevelop/cmake/modules/TDEMacros.cmake
@@ -833,7 +833,7 @@ macro( tde_add_library _arg_target )
 
   # set embedded archives
   if( _embed )
-    list( INSERT _link 0 -Wl,-whole-archive ${_embed} -Wl,-no-whole-archive )
+    list( INSERT _link 0 -Wl,-zallextract ${_embed} -Wl,-zdefaultextract )
   endif( _embed )
 
   # set link libraries