Fixed if-statement for running ldconfig on newer Ubuntu

This commit is contained in:
Sven Almgren
2012-03-14 12:31:58 +01:00
parent f9d21d80b6
commit b985f5aa4b

View File

@@ -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)