File: dynamic_lib.patch

package info (click to toggle)
liblemon 1.3.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,240 kB
  • sloc: cpp: 64,054; sh: 463; xml: 170; makefile: 29; ansic: 3
file content (16 lines) | stat: -rw-r--r-- 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: 2016-08-05
Description: Create static and shared library

--- a/lemon/CMakeLists.txt
+++ b/lemon/CMakeLists.txt
@@ -54,7 +54,8 @@ IF(LEMON_HAVE_SOPLEX)
   INCLUDE_DIRECTORIES(${SOPLEX_INCLUDE_DIRS})
 ENDIF()
 
-ADD_LIBRARY(lemon ${LEMON_SOURCES})
+ADD_LIBRARY(lemon_static ${LEMON_SOURCES})
+ADD_LIBRARY(lemon SHARED ${LEMON_SOURCES} )
 
 TARGET_LINK_LIBRARIES(lemon
   ${GLPK_LIBRARIES} ${COIN_LIBRARIES} ${ILOG_LIBRARIES} ${SOPLEX_LIBRARIES}