From b985f5aa4b423354dbcffa07f76dd3f37eca210a Mon Sep 17 00:00:00 2001 From: Sven Almgren Date: Wed, 14 Mar 2012 12:31:58 +0100 Subject: [PATCH] Fixed if-statement for running ldconfig on newer Ubuntu --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7bc384f8b3..fd7239faf7 100644 --- a/Makefile +++ b/Makefile @@ -175,9 +175,9 @@ install: banner install_headers $(lib_target) cd $(inst_path) ; \ ln -sf $(lib_target) $(libname_shared_major_version) ; \ ln -sf $(libname_shared_major_version) $(libname_shared) - ifneq ($(OS),Darwin) - ldconfig - endif + if test "$(OS)" != "Darwin" ; then \ + ldconfig ; \ + fi @echo "Install shared library: Done." else install: banner install_headers $(lib_target)