From 0c8eb03f10c04cf2430d60e4bd32711c37dae850 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 15 May 2015 11:57:50 -0700 Subject: [PATCH] Set an SONAME for libhoedown.so.3 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $^