Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
7b6a088a
Commit
7b6a088a
authored
Aug 29, 2005
by
Howard Chu
Browse files
ITS
#3977
, fix libtool -static behavior to match docs
parent
bac1aea2
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/ltmain.sh
View file @
7b6a088a
...
...
@@ -1105,14 +1105,15 @@ EOF
if
test
-n
"
$link_static_flag
"
;
then
dlopen_self
=
$dlopen_self_static
fi
prefer_static_libs
=
yes
else
if
test
-z
"
$pic_flag
"
&&
test
-n
"
$link_static_flag
"
;
then
dlopen_self
=
$dlopen_self_static
fi
prefer_static_libs
=
built
fi
build_libtool_libs
=
no
build_old_libs
=
yes
prefer_static_libs
=
yes
break
;;
esac
...
...
@@ -2491,8 +2492,12 @@ EOF
fi
link_static
=
no
# Whether the deplib will be linked statically
use_static_libs
=
"
$prefer_static_libs
"
if
test
"
$use_static_libs
"
=
built
&&
test
"
$installed
"
=
yes
;
then
use_static_libs
=
no
fi
if
test
-n
"
$library_names
"
&&
{
test
"
$
prefer
_static_libs
"
=
no
||
test
-z
"
$old_library
"
;
}
;
then
{
test
"
$
use
_static_libs
"
=
no
||
test
-z
"
$old_library
"
;
}
;
then
if
test
"
$installed
"
=
no
;
then
notinst_deplibs
=
"
$notinst_deplibs
$lib
"
need_relink
=
yes
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment