Added support for NO_SHARED in make install.

This commit is contained in:
lucasb-eyer 2013-12-10 17:10:13 +01:00
parent a136426624
commit 91eaea364b
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,7 @@ endif
@cd $(DESTDIR)$(OPENBLAS_LIBRARY_DIR) ; \
ln -fs $(LIBNAME) $(LIBPREFIX).$(LIBSUFFIX)
#for install shared library
ifndef NO_SHARED
@echo Copying the shared library to $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
ifeq ($(OSNAME), Linux)
@install -pm755 $(LIBSONAME) $(DESTDIR)$(OPENBLAS_LIBRARY_DIR)
@ -81,6 +82,7 @@ ifeq ($(OSNAME), WINNT)
endif
ifeq ($(OSNAME), CYGWIN_NT)
@-cp $(LIBDLLNAME) $(OPENBLAS_LIBRARY_DIR)
endif
endif
@echo Install OK!