summaryrefslogtreecommitdiff
path: root/sci-libs/nlopt/files/nlopt-2.3-pkgconfig.patch
blob: 8a072b15e2e2ad74f92237fc5304429cf2b0e895 (plain)
1
2
3
4
5
6
7
8
9
10
--- nlopt.pc.in.orig	2012-08-03 01:41:30.000000000 +0100
+++ nlopt.pc.in	2012-08-03 01:42:29.000000000 +0100
@@ -6,5 +6,6 @@
 Name: NLopt
 Description: nonlinear optimization libary
 Version: @VERSION@
-Libs: -L${libdir} -lnlopt -lm
+Libs: -L${libdir} -lnlopt@NLOPT_SUFFIX@
+Libs.private: -lm
 Cflags: -I${includedir}