mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Fixed building of shared libs when using egcs.
This commit is contained in:
parent
ec6da4c8d8
commit
e2ef126a52
10
configure.in
10
configure.in
@ -110,6 +110,12 @@ dnl ========================================================
|
||||
MKSHLIB='$(LD) $(DSO_LDOPTS)'
|
||||
DSO_LDOPTS='-shared -soname $(@:$(OBJDIR)/%.so=%.so)'
|
||||
|
||||
dnl gcc can come with its own linker so its better to use the pass-thru calls
|
||||
dnl ========================================================
|
||||
if test "$GNU_CC" = 1; then
|
||||
MKSHLIB='$(CC) -shared -Wl,-h -Wl,$(@:$(OBJDIR)/%.so=%.so)'
|
||||
fi
|
||||
|
||||
dnl now the exceptions
|
||||
dnl ========================================================
|
||||
case "$target" in
|
||||
@ -566,6 +572,8 @@ AC_SUBST(FE_GTK_LIBS)
|
||||
AC_SUBST(FE_GNOME_CFLAGS)
|
||||
AC_SUBST(FE_GNOME_LIBS)
|
||||
|
||||
#if test -z "$USE_NGLAYOUT"; then
|
||||
|
||||
dnl system JPEG support
|
||||
dnl ========================================================
|
||||
AC_ARG_WITH(jpeg,
|
||||
@ -680,6 +688,8 @@ if [ test -n "${PNG_DIR}" && test -d "${PNG_DIR}" && test "$SYSTEM_PNG" = 1 ]; t
|
||||
PNG_LIBS="-L${PNG_DIR}/lib ${PNG_LIBS}"
|
||||
fi
|
||||
|
||||
#fi # !USE_NGLAYOUT
|
||||
|
||||
dnl system NSPR support
|
||||
dnl we always use the system NSPR from now on...this option
|
||||
dnl tells where to find nspr rather than whether to use it
|
||||
|
Loading…
Reference in New Issue
Block a user