summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/input.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/input.pm')
-rw-r--r--source4/build/smb_build/input.pm13
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index c574b5d4a5..6978c540e4 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -114,9 +114,16 @@ sub check_library($$)
}
$lib->{OUTPUT_TYPE} = "SHARED_LIBRARY";
- $lib->{MAJOR_VERSION} = join('', @{$lib->{MAJOR_VERSION}});
- $lib->{MINOR_VERSION} = join('', @{$lib->{MINOR_VERSION}});
- $lib->{RELEASE_VERSION} = join('', @{$lib->{RELEASE_VERSION}});
+
+ if (defined($lib->{MAJOR_VERSION})) {
+ $lib->{MAJOR_VERSION} = join('', $lib->{MAJOR_VERSION});
+ }
+ if (defined($lib->{MINOR_VERSION})) {
+ $lib->{MINOR_VERSION} = join('', $lib->{MINOR_VERSION});
+ }
+ if (defined($lib->{RELEASE_VERSION})) {
+ $lib->{RELEASE_VERSION} = join('', $lib->{RELEASE_VERSION});
+ }
}
sub check_binary($$)