File: lpsolve-link.patch

package info (click to toggle)
ball 1.5.0%2Bgit20220524.d85d2dd-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 240,912 kB
  • sloc: cpp: 326,154; ansic: 4,212; python: 2,303; yacc: 1,778; lex: 1,099; xml: 958; sh: 338; javascript: 164; makefile: 98
file content (17 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix linking with lpsolve.
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update: 2025-11-07
---

--- ball.orig/cmake/FindLPSolve.cmake
+++ ball/cmake/FindLPSolve.cmake
@@ -36,7 +36,7 @@
 		)
 
 		FIND_LIBRARY(TMP_LPSOLVE_LIBRARIES 
-			NAMES lpsolve55 
+			NAMES lpsolve55_pic
 			PATHS ${LPSOLVE_LIBRARIES} ${LPSOLVE_LIB_TRIALPATH}
 			PATH_SUFFIXES lp_solve)
 		SET(LPSOLVE_LIBRARIES ${TMP_LPSOLVE_LIBRARIES} CACHE STRING "Full path to the lpsolve55 library (including the library)" FORCE)