void-packages/srcpkgs/papi/patches/libsde-soname.patch

12 lines
479 B
Diff

--- a/src/sde_lib/Makefile
+++ b/src/sde_lib/Makefile
@@ -14,7 +14,7 @@ SOBJS=$(patsubst %.c,%_s.o,$(wildcard *.
all: dynamic static
dynamic: $(DOBJS)
- $(CC) -Bdynamic -fPIC -shared -Wl,-soname -Wl,libsde.so -fvisibility=hidden -Wextra -Wall -g -O2 $(DOBJS) -lrt -ldl -pthread -o libsde.so.1.0
+ $(CC) -Bdynamic -fPIC -shared -Wl,-soname -Wl,libsde.so.1 -fvisibility=hidden -Wextra -Wall -g -O2 $(DOBJS) -lrt -ldl -pthread -o libsde.so.1.0
rm -f *_d.o
static: $(SOBJS)