From: Jarkko Hietaniemi Date: Wed, 30 May 2001 22:25:02 +0000 (+0000) Subject: (Retracted by #10375.) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2abd9cc848c81a8cfcaea88f772f2103503d6123;p=p5sagit%2Fp5-mst-13.2.git (Retracted by #10375.) IRIX hints patch from Merijn Broeren. TODO: (this and the earlier Linux hints patch) should be solved at Configure level. Merijn: -ldb should not be used on any platform for perl, just when linking DBFile itself. Trying to be helpful here is counterproductive. p4raw-id: //depot/perl@10333 --- diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 6f4ca17..bac68c3 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -282,6 +282,20 @@ set `echo X "$libswanted "|sed -e 's/ sun / /' -e 's/ crypt / /' -e 's/ bsd / /' shift libswanted="$*" +# +# XXX -- This isn't right, since you still don't want perl itself +# linked with -ldb, even if you *do* build the DB_File extension. +# Linking perl with -ldb will prevent you from building the +# Sybase::DBlib extension, due to a conflict between dbopen() in both +# libdb.so and libsybdb.so. +# +case "$i_db" in +undef) + set `echo X "$libswanted "|sed -e 's/ db / /'` + shift + libswanted="$*" ;; +esac + cat > UU/usethreads.cbu <<'EOCBU' # This script UU/usethreads.cbu will get 'called-back' by Configure # after it has prompted the user for whether to use threads.