void-packages/srcpkgs/liquid-dsp/patches/fix-soname.patch

12 lines
410 B
Diff

--- a/makefile.in
+++ b/makefile.in
@@ -1264,7 +1264,7 @@
${RANLIB} $@
libliquid.so : libliquid.a
- $(CC) $(CFLAGS) $(LDFLAGS) -shared -Xlinker -soname=$@ -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive $(LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Xlinker -soname=$@.1 -o $@ -Wl,-whole-archive $^ -Wl,-no-whole-archive $(LIBS)
# static archive and library objects
all: ${ARCHIVE_LIB} ${SHARED_LIB}