libtool-patches
[Top][All Lists]
Advanced

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

[PATCH] OpenBSD


From: Brad
Subject: [PATCH] OpenBSD
Date: Fri, 17 Aug 2001 11:35:43 -0400 (EDT)

Here are 2 patches for the 2 libtool branches which fixes a bug which
causes -lm to mistakenly be removed from deplibs.

ChangeLog entry:

>From Brad <address@hidden>:
* ltmain.in: Do not remove -lm from deplibs for OpenBSD.

// Brad

address@hidden
address@hidden

libtool HEAD branch

--- ltmain.in.orig      Fri Aug 17 00:07:35 2001
+++ ltmain.in   Fri Aug 17 00:09:26 2001
@@ -1223,8 +1223,8 @@
            test "X$arg" = "X-lc" && continue
            ;;
          *-*-openbsd*)
-           # OpenBSD uses either libc or libc_r.
-           continue
+           # Do not include libc due to us having libc/libc_r.
+           test "X$arg" = "X-lc" && continue
            ;;
          *-*-rhapsody* | *-*-darwin1.[012])
            # Rhapsody C and math libraries are in the System framework
@@ -2819,7 +2819,7 @@
            # Don't link with libc until the a.out ld.so is fixed.
            ;;
           *-*-openbsd*)
-           # OpenBSD uses either libc or libc_r.
+           # Do not include libc due to us having libc/libc_r.
             ;;
          *)
            # Add libc to deplibs on all other systems if necessary.

libtool 1.4 branch

--- ltmain.in.orig      Thu Aug 16 23:59:17 2001
+++ ltmain.in   Fri Aug 17 00:00:15 2001
@@ -1042,7 +1042,7 @@
            ;;
           *-*-openbsd*)
             # Do not include libc due to us having libc/libc_r.
-            continue
+            test "X$arg" = "X-lc" && continue
             ;;
           esac
          fi




reply via email to

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