summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:54:53 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-11-21 16:54:53 +0900
commitabbaebf6f92b878517d8061fae50a8b9ca84ca52 (patch)
tree6c95dcf968ab25e466822889812c9de42fcf33cc /Makefile
parent73dd6e05c585d615d229f1a3af1d1a087dd50421 (diff)
downloadre2-abbaebf6f92b878517d8061fae50a8b9ca84ca52.tar.gz
re2-abbaebf6f92b878517d8061fae50a8b9ca84ca52.tar.bz2
re2-abbaebf6f92b878517d8061fae50a8b9ca84ca52.zip
Imported Upstream version 20150701upstream/20150701
Change-Id: I16f6cbaff192fa738d819450a6131af84881a96e Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fd93441..801304d 100644
--- a/Makefile
+++ b/Makefile
@@ -39,8 +39,10 @@ SONAME=0
ifeq ($(shell uname),Darwin)
MAKE_SHARED_LIBRARY=$(CXX) -dynamiclib $(LDFLAGS) -exported_symbols_list libre2.symbols.darwin
+else ifeq ($(shell uname),SunOS)
+MAKE_SHARED_LIBRARY=$(CXX) -shared -Wl,-soname,libre2.so.$(SONAME),-M,libre2.symbols $(LDFLAGS)
else
-MAKE_SHARED_LIBRARY=$(CXX) -shared -Wl,-soname,libre2.so.$(SONAME),--version-script=libre2.symbols $(LDFLAGS)
+MAKE_SHARED_LIBRARY=$(CXX) -shared -Wl,-soname,libre2.so.$(SONAME),--version-script,libre2.symbols $(LDFLAGS)
endif
INSTALL_HFILES=\