summaryrefslogtreecommitdiffstats
path: root/src/log4cxx-2-pkgconfig.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/log4cxx-2-pkgconfig.patch')
-rw-r--r--src/log4cxx-2-pkgconfig.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/log4cxx-2-pkgconfig.patch b/src/log4cxx-2-pkgconfig.patch
new file mode 100644
index 0000000..a322568
--- /dev/null
+++ b/src/log4cxx-2-pkgconfig.patch
@@ -0,0 +1,17 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+This patch ensures that the correct dependencies can always be found for
+static mingw builds. Not yet submitted upstream.
+
+diff -NBaur vanilla/liblog4cxx.pc.in mingw_cross/liblog4cxx.pc.in
+--- vanilla/liblog4cxx.pc.in 2008-04-01 07:34:52.000000000 +0900
++++ mingw_cross/liblog4cxx.pc.in 2011-05-09 10:31:00.175584637 +0900
+@@ -20,6 +20,7 @@
+ Name: log4cxx
+ Description: log4cxx C++ logging framework
+ Version: @VERSION@
++Requires: apr-util-1, apr-1
+ Libs: -L${libdir} -llog4cxx
+ Cflags: -I${includedir}
+