summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2019-03-02 23:36:36 +0100
committerGitHub <noreply@github.com>2019-03-02 23:36:36 +0100
commit25427926bc8b74a48e335ae05c56cbfd8d0187b9 (patch)
treed66b5f7350a02d5e1264a2bebb1183407e19bc50 /Makefile
parentc4868d11c02f1ac97e71afdef3dc49429678959b (diff)
downloadopenblas-25427926bc8b74a48e335ae05c56cbfd8d0187b9.tar.gz
openblas-25427926bc8b74a48e335ae05c56cbfd8d0187b9.tar.bz2
openblas-25427926bc8b74a48e335ae05c56cbfd8d0187b9.zip
Improve handling of NO_STATIC and NO_SHARED
to avoid surprises from defining either as zero. Fixes #2035 by addressing some concerns from #1422
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 21096f893..273fde33e 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ endif
@echo
shared :
-ifndef NO_SHARED
+ifneq ($(NO_SHARED), 1)
ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku))
@$(MAKE) -C exports so
@ln -fs $(LIBSONAME) $(LIBPREFIX).so