aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
diff options
context:
space:
mode:
Diffstat (limited to 'configure.pl')
-rwxr-xr-xconfigure.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.pl b/configure.pl
index 5d60ba0b4..e2a256e01 100755
--- a/configure.pl
+++ b/configure.pl
@@ -1434,7 +1434,7 @@ sub get_cc_info {
'dll_export_flags',
'lang_flags',
'warning_flags',
- 'so_obj_flags',
+ 'shared_flags',
'ar_command',
'debug_flags',
'no_debug_flags');
@@ -1635,7 +1635,7 @@ sub generate_makefile {
(in_array('all', $OPERATING_SYSTEM{$os}{'supports_shared'}) or
in_array($arch, $OPERATING_SYSTEM{$os}{'supports_shared'}))) {
- $$config{'so_obj_flags'} = &$empty_if_nil($ccinfo{'so_obj_flags'});
+ $$config{'shared_flags'} = &$empty_if_nil($ccinfo{'shared_flags'});
$$config{'so_link'} = &$empty_if_nil($ccinfo{'so_link_flags'}{$os});
if($$config{'so_link'} eq '') {
@@ -1643,7 +1643,7 @@ sub generate_makefile {
&$empty_if_nil($ccinfo{'so_link_flags'}{'default'})
}
- if($$config{'so_obj_flags'} eq '' and $$config{'so_link'} eq '') {
+ if($$config{'shared_flags'} eq '' and $$config{'so_link'} eq '') {
$$config{'shared'} = 'no';
warning($$config{'compiler'}, ' has no shared object flags set ',
@@ -1652,7 +1652,7 @@ sub generate_makefile {
}
else {
$$config{'shared'} = 'no';
- $$config{'so_obj_flags'} = '';
+ $$config{'shared_flags'} = '';
$$config{'so_link'} = '';
}