]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (-static, -all-static): set dlopen_self to
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 11 Mar 1999 22:46:07 +0000 (22:46 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 11 Mar 1999 22:46:07 +0000 (22:46 +0000)
$dlopen_self_static regardless of link_static_flag or pic_flag

ChangeLog
ltmain.in

index 1c1455b6913c9f5a4ab8e34daabf3bc0f2faec92..dc4149e587acf9b1f06671d33059c7f926b2c09b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-03-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * ltmain.in (-static, -all-static): set dlopen_self to
+       $dlopen_self_static regardless of link_static_flag or pic_flag
+
        * ltmain.in: FreeBSD bug that needs symbol table compiled with
        -fPIC is fixed in release 3.1; use it only for 2.* and 3.0
 
index 3a493274519b983d7f7c2bc9c99ad0cf93891aa4..79582bf25d12cc224ca16e2ac7e749a797bdcbb4 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -927,8 +927,8 @@ compiler."
        if test -n "$link_static_flag"; then
          compile_command="$compile_command $link_static_flag"
          finalize_command="$finalize_command $link_static_flag"
-         dlopen_self=$dlopen_self_static
        fi
+       dlopen_self=$dlopen_self_static
        continue
        ;;
 
@@ -1055,8 +1055,8 @@ compiler."
        if test -z "$pic_flag" && test -n "$link_static_flag"; then
          compile_command="$compile_command $link_static_flag"
          finalize_command="$finalize_command $link_static_flag"
-         dlopen_self=$dlopen_self_static
        fi
+       dlopen_self=$dlopen_self_static
        continue
        ;;