index 2396bc247e5865a60515c9e4297e8f35ac49c16d..2af6192f0f3cfd023122e5be6327a292c865430a 100644 (file)
endif
ifeq ($(PORTNAME), solaris)
- ifeq ($(GCC), yes)
- LINK.shared = $(COMPILER) -shared -Wl,-Bsymbolic
- else
- LINK.shared = $(COMPILER) -G -Bsymbolic
- endif
+ LINK.shared = $(COMPILER) -shared -Wl,-Bsymbolic
ifdef soname
- ifeq ($(with_gnu_ld), yes)
- LINK.shared += -Wl,-soname,$(soname)
- else
- LINK.shared += -h $(soname)
- endif
+ LINK.shared += -Wl,-soname,$(soname)
endif
endif
index 5496edcafc176882e03670c487ec4efd9634b938..acdf44cc0f2368abd6fceab15e4e90fa927e87e6 100644 (file)
# 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