summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Stone <cuviper@gmail.com>2015-05-15 11:57:50 -0700
committerJosh Stone <cuviper@gmail.com>2015-05-15 11:57:50 -0700
commit0c8eb03f10c04cf2430d60e4bd32711c37dae850 (patch)
treecbe4716d5625b52a59623236066d5b4e56592c36
parent365ad578e7b767ffe7126f029c184d727a3e95b3 (diff)
downloadrust-hoedown-0c8eb03f10c04cf2430d60e4bd32711c37dae850.tar.gz
Set an SONAME for libhoedown.so.3
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e777801..62ec80a 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ libhoedown.so: libhoedown.so.3
ln -f -s $^ $@
libhoedown.so.3: $(HOEDOWN_SRC)
- $(CC) -shared $^ $(LDFLAGS) -o $@
+ $(CC) -Wl,-soname,$(@F) -shared $^ $(LDFLAGS) -o $@
libhoedown.a: $(HOEDOWN_SRC)
$(AR) rcs libhoedown.a $^