libexif.pc.in: Move -lm flag into Libs.private since it's only
authorDan Fandrich <dan@coneharvesters.com>
Tue, 15 Dec 2009 23:26:33 +0000 (15:26 -0800)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 15 Dec 2009 23:26:33 +0000 (15:26 -0800)
needed when statically linking. A future enhancement would be to
make even this dependent on the check for -lm done in configure.

ChangeLog
libexif.pc.in

index 02791b3..bee0b44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-12-15  Dan Fandrich <dan@coneharvesters.com>
+
+       * libexif.pc.in: Move -lm flag into Libs.private since it's only
+         needed when statically linking. A future enhancement would be to
+         make even this dependent on the check for -lm done in configure.
+
 2009-12-11  Dan Fandrich <dan@coneharvesters.com>
 
        * Added tag 0xEA1C, the Padding tag from the Microsoft HD Photo
index 14cfdbd..107ab89 100644 (file)
@@ -7,5 +7,6 @@ Name: libexif
 Description: Library for easy access to EXIF data
 Requires:
 Version: @VERSION@
-Libs: -L${libdir} -lexif -lm
+Libs: -L${libdir} -lexif
+Libs.private: -lm
 Cflags: -I${includedir}