Blob Blame History Raw
diff -up plplot-5.11.0/pkgcfg/plplot-template.pc.in.pkgconfig plplot-5.11.0/pkgcfg/plplot-template.pc.in
--- plplot-5.11.0/pkgcfg/plplot-template.pc.in.pkgconfig	2015-04-12 04:08:04.000000000 -0600
+++ plplot-5.11.0/pkgcfg/plplot-template.pc.in	2015-04-22 22:05:56.899459009 -0600
@@ -6,5 +6,6 @@ Name: PLplot @PC_SHORT_NAME@
 Description: Scientific plotting library (@PC_PRECISION@@PC_LONG_NAME@)
 @PC_REQUIRES_TAG@: @PC_REQUIRES@
 Version: @PLPLOT_VERSION@
-Libs: -L"${libdir}" @PC_LINK_FLAGS@
+Libs: -L"${libdir}" -l@PC_LIBRARY_NAME@
+Libs.private: -L"${libdir}" @PC_LINK_FLAGS@
 Cflags: -I"${includedir}" @PC_COMPILE_FLAGS@