Commit d521bd3e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contrib: fix fluidsynth compilation for all OS

This mostly reverts commit f0380ff0 and
fixes it for Win32, but also Linux
parent 0f2b6a09
--- fluidsynth-1.1.6/fluidsynth.pc.in.orig 2015-04-14 14:38:13.724365611 +0200
+++ fluidsynth-1.1.6/fluidsynth.pc.in 2015-04-14 14:38:12.737681738 +0200
diff -ru fluidsynth.orig/fluidsynth.pc.in fluidsynth/fluidsynth.pc.in
--- fluidsynth.orig/fluidsynth.pc.in 2011-08-03 10:45:08.000000000 +0300
+++ fluidsynth/fluidsynth.pc.in 2011-08-03 10:45:51.000000000 +0300
@@ -6,5 +6,5 @@
Name: FluidSynth
Description: Software SoundFont synth
Version: @VERSION@
-Libs: -L${libdir} -lfluidsynth -ldsound -lwinmm
+Libs: -L${libdir} -lfluidsynth -ldsound -lwinmm -lgthread-2.0 -lglib-2.0 -lm
-Libs: -L${libdir} -lfluidsynth
+Libs: -L${libdir} -lfluidsynth -lgthread-2.0 -lglib-2.0 -lm
Cflags: -I${includedir}
--- fluidsynth/fluidsynth.pc.in 2007-08-18 23:55:32.000000000 +0200
+++ fluidsynth.new/fluidsynth.pc.in 2009-07-28 23:41:05.000000000 +0200
--- fluidsynth-1.1.6/fluidsynth.pc.in.orig 2015-04-14 15:06:24.867271101 +0200
+++ fluidsynth-1.1.6/fluidsynth.pc.in 2015-04-14 15:07:23.088291727 +0200
@@ -6,5 +6,5 @@
Name: FluidSynth
Description: Software SoundFont synth
Version: @VERSION@
-Libs: -L${libdir} -lfluidsynth
+Libs: -L${libdir} -lfluidsynth -ldsound -lwinmm
-Libs: -L${libdir} -lfluidsynth -lgthread-2.0 -lglib-2.0 -lm
+Libs: -L${libdir} -lfluidsynth -lgthread-2.0 -lglib-2.0 -ldsound -lwinmm -lm
Cflags: -I${includedir}
......@@ -20,10 +20,10 @@ $(TARBALLS)/fluidsynth-$(FLUID_VERSION).tar.bz2:
fluidsynth: fluidsynth-$(FLUID_VERSION).tar.bz2 .sum-fluid
$(UNPACK)
$(APPLY) $(SRC)/fluid/fluid-no-bin.patch
$(APPLY) $(SRC)/fluid/fluid-pkg-static.patch
ifdef HAVE_WIN32
$(APPLY) $(SRC)/fluid/fluid-static-win32.patch
endif
$(APPLY) $(SRC)/fluid/fluid-pkg-static.patch
# Remove symbolic links to /usr/share/aclocal
cd $(UNPACK_DIR)/m4/ && rm -f libtool.m4 lt*m4
$(MOVE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment