summaryrefslogtreecommitdiffstats
path: root/src/flac-2-lwsock32.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/flac-2-lwsock32.patch')
-rw-r--r--src/flac-2-lwsock32.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/flac-2-lwsock32.patch b/src/flac-2-lwsock32.patch
new file mode 100644
index 0000000..6a49fa1
--- /dev/null
+++ b/src/flac-2-lwsock32.patch
@@ -0,0 +1,23 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -urN flac-1.2.1.orig/src/libFLAC/flac.pc.in flac-1.2.1/src/libFLAC/flac.pc.in
+--- flac-1.2.1.orig/src/libFLAC/flac.pc.in 2007-02-07 12:07:32.000000000 +1100
++++ flac-1.2.1/src/libFLAC/flac.pc.in 2010-10-07 14:57:17.000000000 +1100
+@@ -6,5 +6,5 @@
+ Name: FLAC
+ Description: Free Lossless Audio Codec Library
+ Version: @VERSION@
+-Libs: -L${libdir} -lFLAC -lm
++Libs: -L${libdir} -lFLAC -lm -lwsock32
+ Cflags: -I${includedir}/FLAC
+diff -urN flac-1.2.1.orig/src/libFLAC++/flac++.pc.in flac-1.2.1/src/libFLAC++/flac++.pc.in
+--- flac-1.2.1.orig/src/libFLAC++/flac++.pc.in 2007-02-07 12:07:32.000000000 +1100
++++ flac-1.2.1/src/libFLAC++/flac++.pc.in 2010-10-07 14:57:36.000000000 +1100
+@@ -7,5 +7,5 @@
+ Description: Free Lossless Audio Codec Library (C++ API)
+ Version: @VERSION@
+ Requires: flac
+-Libs: -L${libdir} -lFLAC++ -lm
++Libs: -L${libdir} -lFLAC++ -lm -lwsock32
+ Cflags: -I${includedir}/FLAC++