Skip to content

Commit

Permalink
Set an SONAME for libhoedown.so.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed May 15, 2015
1 parent 365ad57 commit 0c8eb03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $^
Expand Down

0 comments on commit 0c8eb03

Please sign in to comment.