From 2abd9cc848c81a8cfcaea88f772f2103503d6123 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 30 May 2001 22:25:02 +0000 Subject: (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 --- hints/irix_6.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'hints') diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 6f4ca17881..bac68c312e 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. -- cgit v1.2.1