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 $^