Print this page
7610 SGSPROTO bits are built without SONAME for some reason
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
+# Copyright 2016 RackTop Systems.
 #
 
 .KEEP_STATE:
 .KEEP_STATE_FILE: .make.state.$(MACH)
 

@@ -118,11 +119,11 @@
 CHKMSGFLAGS =   $(SGSMSGTARG:%=-m %) $(SGSMSGCHK:%=-m %)
 
 # Native targets should use the minimum of ld(1) flags to allow building on
 # previous releases.  We use mapfiles to scope, but don't bother versioning.
 
-native :=       DYNFLAGS = -R$(SGSPROTO) -L$(SGSPROTO) $(ZNOVERSION)
+native :=       DYNFLAGS = -R$(SGSPROTO) -L$(SGSPROTO) $(ZNOVERSION) $(HSONAME)
 
 # Comment out the following two lines to have the sgs built from the system
 # link-editor, rather than the local proto link-editor.
 CC_USE_PROTO =  -Yl,$(SGSPROTO)
 LD_USE_PROTO =  $(SGSPROTO)/