clamav/clamav-0.92-private.patch

34 lines
942 B
Diff
Raw Normal View History

2011-07-26 20:19:04 +00:00
Index: clamav-0.97.2/libclamav.pc.in
===================================================================
2011-07-26 20:19:04 +00:00
--- clamav-0.97.2.orig/libclamav.pc.in
+++ clamav-0.97.2/libclamav.pc.in
@@ -6,6 +6,7 @@ includedir=@includedir@
2008-01-01 13:19:16 +00:00
Name: libclamav
Description: A GPL virus scanner
2011-07-26 20:19:04 +00:00
Version: @PACKAGE_VERSION@
2008-01-01 13:19:16 +00:00
-Libs: -L${libdir} -lclamav @LIBCLAMAV_LIBS@
-Cflags: -I${includedir} @CFLAGS@
+Libs: -L${libdir} -lclamav
+Libs.private: -L${libdir} -lclamav @LIBCLAMAV_LIBS@
+Cflags: -I${includedir}
2011-07-26 20:19:04 +00:00
Index: clamav-0.97.2/clamav-config.in
===================================================================
2011-07-26 20:19:04 +00:00
--- clamav-0.97.2.orig/clamav-config.in
+++ clamav-0.97.2/clamav-config.in
2008-01-01 13:19:16 +00:00
@@ -54,12 +54,8 @@ while test $# -gt 0; do
usage 0
;;
- --cflags)
- echo -I@includedir@ @CFLAGS@
- ;;
-
- --libs)
- echo -L@libdir@ @LIBCLAMAV_LIBS@
+ (--cflags|--libs)
+ ${PKG_CONFIG:-pkg-config} "$1" libclamav
;;
*)