[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Shared libs on Alpha/Linux
From: |
Erik Lindahl |
Subject: |
[PATCH] Shared libs on Alpha/Linux |
Date: |
Sun, 22 Jul 2001 22:45:40 +0200 |
This small patch enables shared library support when using the
Compaq compilers on Alpha/Linux. It's actually extremely simple,
just add the correct flags when we use a non-gcc compiler
on Alpha/Linux - the Compaq one is the only alternative!
NB: The dependency tracking on Alpha/Linux has just been
fixed in automake-cvs.
I'll be happy to change stuff, but do cc my adress :-)
Regards,
Erik
--- libtool.m4.vanilla Sun Jul 22 22:25:58 2001
+++ libtool.m4 Sun Jul 22 22:26:46 2001
@@ -3805,10 +3805,24 @@
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
# PIC (with -KPIC) is the default.
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
+ linux*)
+ # Check flags for non-gnu compilers on Linux
+ case "$host_cpu" in
+ alpha*)
+ # The only non-gnu compiler on Linux/Alpha is the Compaq one:
+ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
+ _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
+ ;;
+ *)
+ _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
+ ;;
+ esac
+ ;;
+
newsos6)
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Shared libs on Alpha/Linux,
Erik Lindahl <=