summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/smb_build/input.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index 77b497d25c..11ddea1173 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -91,7 +91,11 @@ sub check_module($$$)
}
if (not defined($mod->{OUTPUT_TYPE})) {
- $mod->{OUTPUT_TYPE} = $default_ot;
+ if ($INPUT->{$mod->{SUBSYSTEM}}->{TYPE} eq "EXT_LIB") {
+ $mod->{OUTPUT_TYPE} = ["SHARED_LIBRARY"];
+ } else {
+ $mod->{OUTPUT_TYPE} = $default_ot;
+ }
}
if (grep(/SHARED_LIBRARY/, @{$mod->{OUTPUT_TYPE}})) {