Browse Source

Avoid overriding user linker flags (LDFLAGS) for modules and shared libs

Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
Fabio Rossi 2 months ago
parent
commit
ad1a487481
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt View File

@@ -286,7 +286,7 @@ add_definitions(
286 286
   -DHAVE_CONFIG_H
287 287
 )
288 288
 
289
-set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
289
+set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
290 290
 
291 291
 
292 292
 ##### project subdirectories ####################

Loading…
Cancel
Save