summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Tirkkonen <lotheac@iki.fi>2016-01-22 18:50:29 +0200
committerLauri Tirkkonen <lotheac@iki.fi>2016-01-22 18:55:59 +0200
commit7ba1d9b9ca6958f1ad5f57d5ff57f1615d97dd5a (patch)
treec631641ffe902f1d99aaead90bc7bc0a6909cd69
parent31aff441cea3f82694a07d4461c05e5ab1e978ed (diff)
downloadopenblas-7ba1d9b9ca6958f1ad5f57d5ff57f1615d97dd5a.tar.gz
openblas-7ba1d9b9ca6958f1ad5f57d5ff57f1615d97dd5a.tar.bz2
openblas-7ba1d9b9ca6958f1ad5f57d5ff57f1615d97dd5a.zip
actually build the shared lib on illumos
-rw-r--r--Makefile2
-rw-r--r--exports/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6ad87d802..35e01a748 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ endif
shared :
ifndef NO_SHARED
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS))
@$(MAKE) -C exports so
@-ln -fs $(LIBSONAME) $(LIBPREFIX).so
@-ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)
diff --git a/exports/Makefile b/exports/Makefile
index 177e975ea..2b3cdc476 100644
--- a/exports/Makefile
+++ b/exports/Makefile
@@ -110,7 +110,7 @@ endif
dllinit.$(SUFFIX) : dllinit.c
$(CC) $(CFLAGS) -c -o $(@F) -s $<
-ifeq ($(OSNAME), Linux)
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS))
so : ../$(LIBSONAME)