aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 48b78fb..999b42e 100644
--- a/Makefile
+++ b/Makefile
@@ -99,7 +99,7 @@ test: bin/test
bin/libpassphrase.so: obj/passphrase.o
@mkdir -p bin
- $(CC) $(LD_FLAGS) -shared -o "$@" $^ $(LDFLAGS)
+ $(CC) $(LD_FLAGS) -shared -Wl,-soname,libpassphrase.so -o "$@" $^ $(LDFLAGS)
bin/libpassphrase.a: obj/passphrase.o
@mkdir -p bin