diff options
Diffstat (limited to 'src/Makefile.shlib')
-rw-r--r-- | src/Makefile.shlib | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/Makefile.shlib b/src/Makefile.shlib index 2396bc247e5..2af6192f0f3 100644 --- a/src/Makefile.shlib +++ b/src/Makefile.shlib @@ -188,17 +188,9 @@ ifeq ($(PORTNAME), linux) 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 |