aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-13 23:56:52 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-13 23:56:52 +0100
commit1a01faf9a000afd20d1e0b4ad11d8aaea366580f (patch)
tree59300697e43b92dc9ca3eb6d73bf06b25e8e569b
parentm + compile static lib (diff)
downloadlibpassphrase-1415919473.tar.gz
libpassphrase-1415919473.tar.bz2
libpassphrase-1415919473.tar.xz
link .so file with -Wl,-soname,libpassphrase.so1415919473
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-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