summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch')
-rw-r--r--media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch b/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch
index 45859759c445..cbc2ee6e17d3 100644
--- a/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch
+++ b/media-libs/zita-resampler/files/zita-resampler-1.10.1-makefile.patch
@@ -77,3 +77,13 @@ diff -urpN zita-resampler-1.10.1.orig/source/Makefile zita-resampler-1.10.1/sour
LDFLAGS +=
LDLIBS +=
+@@ -49,6 +47,9 @@ ZITA-RESAMPLER_H = zita-resampler/resamp
+ zita-resampler/vresampler.h zita-resampler/cresampler.h
+
+
++$(ZITA-RESAMPLER_SO): $(ZITA-RESAMPLER_MIN)
++ ln -sf $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_SO)
++
+ $(ZITA-RESAMPLER_MIN): $(ZITA-RESAMPLER_O)
+ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-RESAMPLER_MAJ) -o $(ZITA-RESAMPLER_MIN) $(ZITA-RESAMPLER_O) $(ZITA-RESAMPLER_DEP)
+