Lines 78-87
Link Here
|
78 |
sunos5*-*gcc*|solaris2*-*gcc*) |
78 |
sunos5*-*gcc*|solaris2*-*gcc*) |
79 |
SHOBJ_CFLAGS=-fpic |
79 |
SHOBJ_CFLAGS=-fpic |
80 |
SHOBJ_LD='${CC}' |
80 |
SHOBJ_LD='${CC}' |
81 |
# This line works for the Solaris linker in /usr/ccs/bin/ld |
81 |
ld_used=`gcc -print-prog-name=ld` |
82 |
SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@' |
82 |
if ${ld_used} -V 2>&1 | grep -q GNU; then |
83 |
# This line works for the GNU ld |
83 |
# This line works for the GNU ld |
84 |
# SHOBJ_LDFLAGS='-shared -Wl,-h,$@' |
84 |
SHOBJ_LDFLAGS='-shared -Wl,-h,$@' |
|
|
85 |
else |
86 |
# This line works for the Solaris linker in /usr/ccs/bin/ld |
87 |
SHOBJ_LDFLAGS='-shared -Wl,-i -Wl,-h,$@' |
88 |
fi |
85 |
|
89 |
|
86 |
# SHLIB_XLDFLAGS='-R $(libdir)' |
90 |
# SHLIB_XLDFLAGS='-R $(libdir)' |
87 |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' |
91 |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)' |