aboutsummaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.solaris
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefiles/Makefile.solaris')
-rw-r--r--src/makefiles/Makefile.solaris9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/makefiles/Makefile.solaris b/src/makefiles/Makefile.solaris
index 5496edcafc1..acdf44cc0f2 100644
--- a/src/makefiles/Makefile.solaris
+++ b/src/makefiles/Makefile.solaris
@@ -1,21 +1,14 @@
# src/makefiles/Makefile.solaris
AROPT = crs
+rpath = -Wl,-rpath,'$(rpathdir)'
ifeq ($(with_gnu_ld), yes)
export_dynamic = -Wl,-E
-rpath = -Wl,-rpath,'$(rpathdir)'
-else
-rpath = -Wl,-R'$(rpathdir)'
endif
-
# Rule for building a shared library from a single .o file
%.so: %.o
-ifeq ($(GCC), yes)
$(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -shared -o $@
-else
- $(CC) $(CFLAGS) $< $(LDFLAGS) $(LDFLAGS_SL) -G -o $@
-endif
sqlmansect = 5sql