Code to help fix 39541. We now use the cxx compiler to generate shared libs

containing cxx generated objects rather than calling /usr/bin/ld directly.
r=cls@seawood.org a=brendan@meer.net
This commit is contained in:
jim_nance%yahoo.com 2000-05-20 23:47:23 +00:00
Родитель 52c5791a3e
Коммит d9992f2b2d
2 изменённых файлов: 4 добавлений и 4 удалений

4
configure поставляемый
Просмотреть файл

@ -4465,8 +4465,8 @@ alpha*-*-osf*)
DSO_LDOPTS='-shared -msym -expect_unresolved \* -soname $@'
DSO_CFLAGS=
DSO_PIC_CFLAGS=
MKSHLIB='-$(LD) $(DSO_LDOPTS) -o $@'
MKCSHLIB='-$(LD) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_LDOPTS) -o $@'
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -o $@'
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'
cat >> confdefs.h <<\EOF

Просмотреть файл

@ -831,8 +831,8 @@ alpha*-*-osf*)
DSO_LDOPTS='-shared -msym -expect_unresolved \* -soname $@'
DSO_CFLAGS=
DSO_PIC_CFLAGS=
MKSHLIB='-$(LD) $(DSO_LDOPTS) -o $@'
MKCSHLIB='-$(LD) $(DSO_LDOPTS) -o $@'
MKCSHLIB='$(CC) $(CFLAGS) $(DSO_LDOPTS) -o $@'
MKSHLIB='$(CXX) $(CXXFLAGS) $(DSO_LDOPTS) -o $@'
MKSHLIB_FORCE_ALL='-all'
MKSHLIB_UNFORCE_ALL='-none'
dnl Might fix the libxpcom.so breakage on this platform as well....