Debian Codegraph @

debian/patches/lpsolve

raw
1 Author: Ralf Treinen <[email protected]>
2 Description: Configure to use lpsolve as solving engine
3
4 Index: mccs-1.0/make.local
5 ===================================================================
6 --- mccs-1.0.orig/make.local 2011-05-06 14:19:48.000000000 +0200
7 +++ mccs-1.0/make.local 2011-05-06 14:21:18.000000000 +0200
8 @@ -28,19 +28,19 @@
9 #======================================================
10
11 # if you want to use cplex uncomment next line (or use USELPSOLVE=1 as make parameter)
12 -#USELPSOLVE=1
13 +USELPSOLVE=1
14
15
16 ifeq ($(USELPSOLVE),1)
17
18 # Path to the LPSOLVE main dir
19 -LPSOLVEDIR=$(PWD)/../lpsolve/dev
20 +LPSOLVEDIR=/usr/lib
21
22 # Path to the LPSOLVE include files
23 -LPSOLVEINC=${LPSOLVEDIR}
24 +LPSOLVEINC=/usr/include/lpsolve
25
26 # LPSOLVE library path and options
27 -LPSOLVELD=-L${LPSOLVEDIR} -llpsolve55 -Wl,-rpath,${LPSOLVEDIR}
28 +LPSOLVELD=-L${LPSOLVEDIR} -llpsolve55 -ldl -lcolamd
29
30 endif
31