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

12 lines
410 B
Diff
Raw Normal View History

2022-12-06 19:49:00 +01:00
--- 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}