]> git.pld-linux.org Git - packages/rubberband.git/blob - rubberband-jni.patch
df6c26cff19ea8ba0887afa792a5ce3e2a5865cd
[packages/rubberband.git] / rubberband-jni.patch
1 --- rubberband-1.8.2/Makefile.in.orig   2019-04-26 16:04:47.502018628 +0200
2 +++ rubberband-1.8.2/Makefile.in        2019-04-26 16:42:07.616549552 +0200
3 @@ -34,6 +34,7 @@
4  DYNAMIC_FULL_VERSION   := 2.1.1
5  DYNAMIC_ABI_VERSION    := 2
6  DYNAMIC_LDFLAGS                := -shared -Wl,-Bsymbolic -Wl,-soname=$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
7 +JNI_LDFLAGS            := -shared -Wl,-Bsymbolic -Wl,-soname=$(JNINAME)$(DYNAMIC_EXTENSION)
8  VAMP_LDFLAGS           := -shared -Wl,-Bsymbolic -Wl,--version-script=vamp/vamp-plugin.map
9  LADSPA_LDFLAGS         := -shared -Wl,-Bsymbolic -Wl,--version-script=ladspa/ladspa-plugin.map
10  
11 @@ -149,7 +150,7 @@
12         $(CXX) -c $(JNI_CXXFLAGS) $(CXXFLAGS) $^ -o $@
13  
14  $(JNI_TARGET): $(LIBRARY_OBJECTS) $(JNI_OBJECT)
15 -       $(CXX) $(DYNAMIC_LDFLAGS) $^ -o $@ $(LIBRARY_LIBS) $(LDFLAGS)
16 +       $(CXX) $(JNI_LDFLAGS) $^ -o $@ $(LIBRARY_LIBS) $(LDFLAGS)
17  
18  $(JAR_TARGET): $(JAVA_SOURCE)
19         $(JAVAC) $^
20 @@ -183,7 +184,7 @@
21         cp $(DYNAMIC_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION)
22         ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_ABI_VERSION)
23         ln -s $(LIBNAME)$(DYNAMIC_EXTENSION).$(DYNAMIC_FULL_VERSION) $(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)$(DYNAMIC_EXTENSION)
24 -       cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION)
25 +       if test -f $(JNI_TARGET) ; then cp -f $(JNI_TARGET) $(DESTDIR)$(INSTALL_LIBDIR)/$(JNINAME)$(DYNAMIC_EXTENSION) ; fi
26         cp $(VAMP_TARGET) $(DESTDIR)$(INSTALL_VAMPDIR)
27         cp vamp/vamp-rubberband.cat $(DESTDIR)$(INSTALL_VAMPDIR)
28         cp $(LADSPA_TARGET) $(DESTDIR)$(INSTALL_LADSPADIR)
This page took 0.071659 seconds and 2 git commands to generate.