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)