$NetBSD: patch-config_mh-solaris-gcc,v 1.4 2017/10/04 10:52:40 jperkin Exp $

Pass -h correctly to linker for clang.

--- config/mh-solaris-gcc.orig	2016-06-15 18:58:17.000000000 +0000
+++ config/mh-solaris-gcc
@@ -15,7 +15,7 @@ GEN_DEPS.c= 	$(CC) -E -MM $(DEFS) $(CPPF
 GEN_DEPS.cc=	$(CXX) -E -MM $(DEFS) $(CPPFLAGS) $(CXXFLAGS)
 
 ## These are the library specific LDFLAGS
-LDFLAGSICUDT=-nodefaultlibs -nostdlib
+#LDFLAGSICUDT=-nodefaultlibs -nostdlib
 
 ## Additional flags when building libraries and with threads
 THREADSCPPFLAGS = -D_REENTRANT
@@ -25,7 +25,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
