From e0312545317ddde5edd71ac4752ab130547c8925 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 13 Oct 2021 17:15:59 -0400 Subject: [PATCH] Fix 'all-shared' target. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 467b55a..c2adba2 100644 --- a/Makefile +++ b/Makefile @@ -69,8 +69,8 @@ all: $(TARGETS) all-shared: if test `uname` = Darwin; then \ $(MAKE) DSONAME="libpdfio.1.dylib" -$(MAKEFLAGS) all; \ - else - $(MAKE) DSONAME="libpdfio.so.1" -$(MAKEFLAGS) all; \ + else \ + $(MAKE) COMMONFLAGS="-g -Os -fPIC" DSONAME="libpdfio.so.1" -$(MAKEFLAGS) all; \ fi debug: