Merge pull request #327 from lucasb-eyer/develop

Added support for NO_SHARED in make install.
This commit is contained in:
Zhang Xianyi 2013-12-11 06:16:40 -08:00
commit 768d2042d4
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!