From 572ac3f5d6d43adb100b3ed235298e08d93d720d Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Sat, 21 Oct 2017 19:49:57 +0200 Subject: [PATCH] [pkgconfig] Mark libm as private (#156) --- nlopt.pc.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nlopt.pc.in b/nlopt.pc.in index 81d9629..81616df 100644 --- a/nlopt.pc.in +++ b/nlopt.pc.in @@ -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} -- 2.30.2