Set an SONAME for libhoedown.so.3

This commit is contained in:
Josh Stone 2015-05-15 11:57:50 -07:00
parent 365ad578e7
commit 0c8eb03f10

View file

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