From 4e293e37803d63fc3fc9094f3a2b84758cad5c09 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 18 Jun 2009 02:32:26 +0200 Subject: [PATCH] smb_build: Always build modules for system-libraries as shared libraries, since they can't be included in the static library. --- source4/build/smb_build/input.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index df9a525f4f6..27a00890b43 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -93,9 +93,10 @@ sub check_module($$$) unless (defined($mod->{INIT_FUNCTION_SENTINEL})) { $mod->{INIT_FUNCTION_SENTINEL} = "NULL"; } if (not defined($mod->{OUTPUT_TYPE})) { - if ((not defined($INPUT->{$mod->{SUBSYSTEM}}->{TYPE})) or + if ((not defined($INPUT->{$mod->{SUBSYSTEM}})) or + (not defined($INPUT->{$mod->{SUBSYSTEM}}->{TYPE})) or $INPUT->{$mod->{SUBSYSTEM}}->{TYPE} eq "EXT_LIB") { - $mod->{OUTPUT_TYPE} = undef; + $mod->{OUTPUT_TYPE} = ["SHARED_LIBRARY"]; } else { $mod->{OUTPUT_TYPE} = $default_ot; } -- 2.11.4.GIT