16 lines
480 B
Plaintext
16 lines
480 B
Plaintext
$NetBSD: patch-config_mh-solaris-gcc,v 1.3 2015/10/26 09:28:20 jperkin Exp $
|
|
|
|
Pass -h correctly to linker for clang.
|
|
|
|
--- config/mh-solaris-gcc.orig 2015-10-08 03:54:32.000000000 +0000
|
|
+++ config/mh-solaris-gcc
|
|
@@ -23,7 +23,7 @@ LD_RPATH= -R'$$'ORIGIN
|
|
LD_RPATH_PRE= -R
|
|
|
|
## Compiler switch to embed a library name
|
|
-LD_SONAME = -h $(notdir $(MIDDLE_SO_TARGET))
|
|
+LD_SONAME = -Wl,-h,$(notdir $(MIDDLE_SO_TARGET))
|
|
|
|
## Shared library options
|
|
LD_SOOPTIONS= -Wl,-Bsymbolic
|