libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the wrong library


From: Peter O'Gorman
Subject: Re: Getting the wrong library
Date: Mon, 2 Jun 2003 07:11:25 +0900

Hi.

On Monday, June 2, 2003, at 02:13  AM, Benjamin Reed wrote:

Attached is a patch to fix this.  This works on darwin and should work
on anything else as I'm using $shrext as part of the extension search.

$shrext already has a ".", perhaps changing this to

for search_ext in ".la" $shrext ".so" ".a" is better.

Sorry, went to bed,
Peter

+           for search_ext in la $shrext so a; do
+             # Search the libtool library
+             lib="$searchdir/lib${name}.${search_ext}"
+             if test -f "$lib"; then
+               if test "$search_ext" = "la"; then
+                 found=yes
+               else
+                 found=no
+               fi
+               break 2
+             fi
+           done





reply via email to

[Prev in Thread] Current Thread [Next in Thread]