michaelrsweet / pdfio

PDFio is a simple C library for reading and writing PDF files.
https://www.msweet.org/pdfio
Apache License 2.0
199 stars 44 forks source link

Fix `install-shared` Make task #32

Closed ire4ever1190 closed 2 years ago

ire4ever1190 commented 2 years ago

Issue before fix

if test `uname` = Darwin; then \
    make DSONAME="libpdfio.1.dylib" - install; \
else
/bin/sh: -c: line 4: syntax error: unexpected end of file
make: *** [Makefile:121: install-shared] Error 2

Which was caused by the missing \ on line 123

Adding that in fixed it and allowed me to install correctly