chiark / gitweb /
Merge pull request #50 from jschueller/patch-1
authorSteven G. Johnson <stevenj@mit.edu>
Fri, 11 Sep 2015 19:22:32 +0000 (15:22 -0400)
committerSteven G. Johnson <stevenj@mit.edu>
Fri, 11 Sep 2015 19:22:32 +0000 (15:22 -0400)
fix nlopt.pc with cxx enabled

nlopt.pc.in

index a5cecf872dda0abd6a2369859eee90d22ef06426..28f051bea56477e9993d768d3f6ee1e05511f1f4 100644 (file)
@@ -6,5 +6,5 @@ includedir=@includedir@
 Name: NLopt
 Description: nonlinear optimization libary
 Version: @VERSION@
-Libs: -L${libdir} -lnlopt -lm
+Libs: -L${libdir} -lnlopt@NLOPT_SUFFIX@ -lm
 Cflags: -I${includedir}