[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/10] Set lt_prog_compiler_static to -Bstatic on OS/2
From: |
KO Myung-Hun |
Subject: |
[PATCH 03/10] Set lt_prog_compiler_static to -Bstatic on OS/2 |
Date: |
Fri, 15 Apr 2011 21:59:16 +0900 |
---
libltdl/m4/libtool.m4 | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index c2814de..2361831 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -3919,6 +3919,11 @@ m4_if([$1], [CXX], [
# (--disable-auto-import) libraries
m4_if([$1], [GCJ], [],
[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
;;
darwin* | rhapsody*)
# PIC is the default on this platform
@@ -4237,6 +4242,11 @@ m4_if([$1], [CXX], [
# (--disable-auto-import) libraries
m4_if([$1], [GCJ], [],
[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
;;
darwin* | rhapsody*)
@@ -4320,6 +4330,11 @@ m4_if([$1], [CXX], [
# built for inclusion in a dll (and should export symbols for example).
m4_if([$1], [GCJ], [],
[_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
+ case $host_os in
+ os2*)
+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
+ ;;
+ esac
;;
hpux9* | hpux10* | hpux11*)
--
1.7.3.2
- [PATCH 06/10] There is no need to relink DLLs on OS/2, (continued)
- [PATCH 06/10] There is no need to relink DLLs on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 08/10] Support -Zxxx options used on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 09/10] Create import libraries instead of links to the real library on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 10/10] Fix a problem that it fails to find proper libraries if .la is a dependency on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 00/10] Enhanced OS/2 ports, KO Myung-Hun, 2011/04/15
- [PATCH 02/10] Don't eliminate duplications in $postdeps and $predeps on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 04/10] OS/2 uses other APIs to load a DLL than LoadLibrary() on Windows., KO Myung-Hun, 2011/04/15
- [PATCH 03/10] Set lt_prog_compiler_static to -Bstatic on OS/2,
KO Myung-Hun <=
- [PATCH 06/10] There is no need to relink DLLs on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 07/10] Set lt_cv_deplibs_check_method to pass_all on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 05/10] OS/2 uses ld inherited from GNU ld, KO Myung-Hun, 2011/04/15
- [PATCH 08/10] Support -Zxxx options used on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 09/10] Create import libraries instead of links to the real library on OS/2, KO Myung-Hun, 2011/04/15
- [PATCH 10/10] Fix a problem that it fails to find proper libraries if .la is a dependency on OS/2, KO Myung-Hun, 2011/04/15