Use $(CCC) to make shared libs if NS_USE_GCC is defined.
git-svn-id: svn://10.0.0.236/trunk@13857 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -179,8 +179,15 @@ FC_PLATFORM = SolarisSparc
|
||||
FC_PLATFORM_DIR = SunOS5_sparc
|
||||
endif
|
||||
|
||||
# use g++ to make shared libs
|
||||
ifdef NS_USE_GCC
|
||||
MKSHLIB = $(CCC) $(DSO_LDOPTS)
|
||||
DSO_LDOPTS = -shared -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) -L$(MOTIF)/lib -L/usr/openwin/lib
|
||||
else
|
||||
MKSHLIB = $(LD) $(DSO_LDOPTS)
|
||||
DSO_LDOPTS = -G -L$(MOTIF)/lib -L/usr/openwin/lib
|
||||
endif
|
||||
|
||||
DSO_BIND_REFERENCES = -Bsymbolic
|
||||
|
||||
DSO_LDOPTS = -G -L$(MOTIF)/lib -L/usr/openwin/lib
|
||||
DSO_LDFLAGS =
|
||||
|
||||
Reference in New Issue
Block a user