From 0fe173a94bc51a8742fa16a68ca5ad092dea5f2b Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Sun, 4 Jun 2017 11:59:06 +0200 Subject: [PATCH] unbreak installation on Darwin, SO_LINK was missing --- configure | 1 + libsndio/Makefile.in | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 988b77f..cfbaa7f 100755 --- a/configure +++ b/configure @@ -89,6 +89,7 @@ case `uname` in Darwin) rmidi=no so="libsndio.\${MAJ}.\${MIN}.dylib" + so_link="libsndio.dylib" defs='-DHAVE_ARC4RANDOM -DHAVE_ISSETUGID \\\ -DHAVE_STRLCAT -DHAVE_STRLCPY' esac diff --git a/libsndio/Makefile.in b/libsndio/Makefile.in index 733bbae..f3ce7e0 100644 --- a/libsndio/Makefile.in +++ b/libsndio/Makefile.in @@ -47,7 +47,8 @@ MIN = 1 SO = @so@ SO_LINK = @so_link@ -all: ${SO} +all: ${SO} ${SO_LINK} + install: mkdir -p ${DESTDIR}${INCLUDE_DIR} @@ -90,7 +91,7 @@ uninstall: cd ${DESTDIR}${MAN7_DIR} && rm -f ${MAN7} clean: - rm -f -- *.so *.so.* *.o + rm -f -- ${SO} ${SO_LINK} *.o # ---------------------------------------------------------- dependencies ---