summaryrefslogtreecommitdiffstats
path: root/httpd/src
diff options
context:
space:
mode:
Diffstat (limited to 'httpd/src')
-rw-r--r--httpd/src/unixso.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/httpd/src/unixso.mk b/httpd/src/unixso.mk
index 8c0c4661..5dccb206 100644
--- a/httpd/src/unixso.mk
+++ b/httpd/src/unixso.mk
@@ -62,8 +62,12 @@ SOLINK2=$(SOLINK)
endif
ifeq ($(ARCH), SOLARIS)
+ifdef NS_USE_NATIVE
DLL_LDFLAGS += -h $(SONAME)
EXTRA_LIBS += -R .:../../lib:../../bin/https:../../plugins/java/bin:../wai/lib
+else
+EXTRA_LIBS += -Wl,-R,.:../../lib:../../bin/https:../../plugins/java/bin:../wai/lib
+endif
ADM_EXTRA = $(GCCLIB)
endif