This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libwww/libwww-5.4.0-libtool.patch

30 lines
1015 B
Diff

--- w3c-libwww-5.4.0/config/ltmain.sh.orig 2005-11-14 12:41:58.000000000 +0100
+++ w3c-libwww-5.4.0/config/ltmain.sh 2005-11-14 12:42:51.000000000 +0100
@@ -469,7 +469,7 @@
pic_mode=default
;;
esac
- if test $pic_mode = no && test "$deplibs_check_method" != pass_all; then
+ if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
# non-PIC code in shared libraries is not supported
pic_mode=default
fi
@@ -2464,7 +2464,7 @@
;;
*)
# Add libc to deplibs on all other systems if necessary.
- if test $build_libtool_need_lc = "yes"; then
+ if test "$build_libtool_need_lc" = "yes"; then
deplibs="$deplibs -lc"
fi
;;
@@ -2756,7 +2756,7 @@
# Test again, we may have decided not to build it any more
if test "$build_libtool_libs" = yes; then
- if test $hardcode_into_libs = yes; then
+ if test "$hardcode_into_libs" = yes; then
# Hardcode the library paths
hardcode_libdirs=
dep_rpath=