summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@gmail.com>2016-01-13 23:06:05 -0600
committerJeff Smith <whydoubt@yahoo.com>2016-01-13 23:38:04 -0600
commita4020b3621c81edaf846d18eb75c61fbe8e98691 (patch)
tree178af9656f0ab5de0eff40087b3d83597cdca1f2
parent48322c86339fcd957a3ec102fb3a0bb4a058cb03 (diff)
downloadlibgphoto2-a4020b3621c81edaf846d18eb75c61fbe8e98691.tar.gz
Avoid overlinking of libexif
The dependency on libexif need not be exposed to consumers of this library. This is fixed by moving libexif from Requires to Requires.private in the pkg-config files.
-rw-r--r--libgphoto2-uninstalled.pc.in3
-rw-r--r--libgphoto2.pc.in3
2 files changed, 4 insertions, 2 deletions
diff --git a/libgphoto2-uninstalled.pc.in b/libgphoto2-uninstalled.pc.in
index b7921df37..c90d7177b 100644
--- a/libgphoto2-uninstalled.pc.in
+++ b/libgphoto2-uninstalled.pc.in
@@ -16,7 +16,8 @@ Name: libgphoto2
Description: Library for easy access to digital cameras
URL: http://gphoto.org/proj/libgphoto2/
Version: ${VERSION}
-Requires: libgphoto2_port >= 0.7.2, @REQUIREMENTS_FOR_LIBEXIF@
+Requires: libgphoto2_port >= 0.7.2
+Requires.private: @REQUIREMENTS_FOR_LIBEXIF@
# This is what works for gphoto-suite
Libs: ${pcfiledir}/libgphoto2/libgphoto2.la -lm
Cflags: -I${pcfiledir}/@srcdir@
diff --git a/libgphoto2.pc.in b/libgphoto2.pc.in
index 87bd5806f..8a70c571a 100644
--- a/libgphoto2.pc.in
+++ b/libgphoto2.pc.in
@@ -9,6 +9,7 @@ Name: libgphoto2
Description: Library for easy access to digital cameras
URL: http://gphoto.org/proj/libgphoto2/
Version: @VERSION@
-Requires: libgphoto2_port >= 0.10.0 @REQUIREMENTS_FOR_LIBEXIF@
+Requires: libgphoto2_port >= 0.10.0
+Requires.private: @REQUIREMENTS_FOR_LIBEXIF@
Libs: -L${libdir} -lgphoto2 -lm
Cflags: -I${includedir}/gphoto2