chiark / gitweb /
[pkgconfig] Mark libm as private (#156)
authorJulien Schueller <schueller@phimeca.com>
Sat, 21 Oct 2017 17:49:57 +0000 (19:49 +0200)
committerSteven G. Johnson <stevenj@mit.edu>
Sat, 21 Oct 2017 17:49:57 +0000 (13:49 -0400)
nlopt.pc.in

index 81d96299d5ea08c3edb15914026fcffbd0b0f8c0..81616df2a2df5383255f7b54987bb0691a734da3 100644 (file)
@@ -6,5 +6,6 @@ includedir=${prefix}/include
 Name: NLopt
 Description: nonlinear optimization libary
 Version: @NLOPT_VERSION_STRING@
-Libs: -L${libdir} -lnlopt@NLOPT_SUFFIX@ -lm
+Libs: -L${libdir} -lnlopt@NLOPT_SUFFIX@
+Libs.private: -lm
 Cflags: -I${includedir}