From f3689d6b3d85d12bb60b8897c5571b176df5c108 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 15 Oct 2021 19:32:08 -0400 Subject: [PATCH] Fix all-shared on Linux (Issue #22) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c2adba2..ff50bce 100644 --- a/Makefile +++ b/Makefile @@ -125,7 +125,7 @@ libpdfio.a: $(LIBOBJS) $(RANLIB) $@ libpdfio.so.1: $(LIBOBJS) - $(CC) $(DSOFLAGS) $(COMMONFLAGS) -shared -o $@ -Wl,soname,$@ $(LIBOBJS) $(LIBS) + $(CC) $(DSOFLAGS) $(COMMONFLAGS) -shared -o $@ -Wl,-soname,$@ $(LIBOBJS) $(LIBS) libpdfio.1.dylib: $(LIBOBJS) $(CC) $(DSOFLAGS) $(COMMONFLAGS) -dynamiclib -o $@ -install_name $(prefix)/lib/$@ -current_version $(VERSION) -compatibility_version 1.0 $(LIBOBJS) $(LIBS)