forked from pool/ladspa
Dave Plater
e10f49ec3b
Update to version 1.4 and remove incorporated patches OBS-URL: https://build.opensuse.org/request/show/663160 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ladspa?expand=0&rev=39
30 lines
911 B
Diff
30 lines
911 B
Diff
Index: src/Makefile
|
|
===================================================================
|
|
--- src/Makefile.orig 2019-01-03 17:08:22.000000000 +0200
|
|
+++ src/Makefile 2019-01-06 10:29:48.264066021 +0200
|
|
@@ -29,6 +29,7 @@ PROGRAMS = ../bin/analyseplugin \
|
|
../bin/listplugins
|
|
CC = cc
|
|
CPP = c++
|
|
+LD = ld
|
|
|
|
###############################################################################
|
|
#
|
|
@@ -37,10 +38,13 @@ CPP = c++
|
|
|
|
../plugins/%.so: plugins/%.c ladspa.h gcc_exports.map
|
|
$(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c
|
|
- $(LD) -o ../plugins/$*.so \
|
|
+ $(CC) -o ../plugins/$*.so \
|
|
plugins/$*.o \
|
|
- -shared \
|
|
- --version-script=gcc_exports.map
|
|
+ -shared \
|
|
+ ${LIBRARIES} \
|
|
+ $(CFLAGS) \
|
|
+ -s \
|
|
+ -Wl,--version-script=gcc_exports.map
|
|
|
|
../plugins/%.so: plugins/%.cpp ladspa.h gcc_exports.map
|
|
$(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp
|