54 lines
1.9 KiB
Diff
54 lines
1.9 KiB
Diff
--- auxdir/ltconfig
|
|
+++ auxdir/ltconfig 2012-02-21 12:20:09.366433998 +0000
|
|
@@ -1966,19 +1966,8 @@ linux-gnu*)
|
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
|
|
shlibpath_var=LD_LIBRARY_PATH
|
|
shlibpath_overrides_runpath=no
|
|
- deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
|
|
- file_magic_cmd=/usr/bin/file
|
|
- file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
|
|
-
|
|
- if test -f /lib/ld.so.1; then
|
|
- dynamic_linker='GNU ld.so'
|
|
- else
|
|
- # Only the GNU ld.so supports shared libraries on MkLinux.
|
|
- case "$host_cpu" in
|
|
- powerpc*) dynamic_linker=no ;;
|
|
- *) dynamic_linker='Linux ld.so' ;;
|
|
- esac
|
|
- fi
|
|
+ hardcode_into_libs=yes
|
|
+ dynamic_linker='GNU/Linux ld.so'
|
|
;;
|
|
|
|
netbsd*)
|
|
--- auxdir/ltmain.sh
|
|
+++ auxdir/ltmain.sh 2013-12-09 13:50:04.722735821 +0000
|
|
@@ -1982,11 +1982,12 @@ EOF
|
|
echo
|
|
if test "X$deplibs_check_method" = "Xnone"; then
|
|
echo "*** Warning: inter-library dependencies are not supported in this platform."
|
|
+ echo "*** All declared inter-library dependencies are being dropped."
|
|
+ droppeddeps=yes
|
|
else
|
|
- echo "*** Warning: inter-library dependencies are not known to be supported."
|
|
+ deplibs=$($echo "X $deplibs" | $Xsed -e 's/ -lc$//' -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g')
|
|
+ newdeplibs="$deplibs"
|
|
fi
|
|
- echo "*** All declared inter-library dependencies are being dropped."
|
|
- droppeddeps=yes
|
|
fi
|
|
;;
|
|
esac
|
|
--- lib/Makefile.in
|
|
+++ lib/Makefile.in 2013-12-09 13:54:05.318235734 +0000
|
|
@@ -247,7 +247,7 @@ CFLAGS = @CFLAGS@
|
|
LEXLIB = @LEXLIB@
|
|
YLWRAP = $(top_srcdir)/auxdir/ylwrap
|
|
CCLD = $(CC)
|
|
-LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
+LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -lm
|
|
DIST_SOURCES = $(liba2ps_la_SOURCES)
|
|
HEADERS = $(include_HEADERS) $(noinst_HEADERS)
|
|
|