summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-11 17:29:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:34 -0500
commit02509b55de5304cb1d5d2bf4cbedf3079388ff0d (patch)
tree596c684aa6c4ca893fdb31e27e853e6d1b053da2 /source4/build/smb_build
parent2e5f023a69cda6f507a2a820c97b0f095ce44678 (diff)
downloadsamba-02509b55de5304cb1d5d2bf4cbedf3079388ff0d.tar.gz
samba-02509b55de5304cb1d5d2bf4cbedf3079388ff0d.tar.bz2
samba-02509b55de5304cb1d5d2bf4cbedf3079388ff0d.zip
r25094: Force building shared module if subsystem is a shared library.
(This used to be commit 3146f0deadbc49b1a56f667bfcee950880ffe0f9)
Diffstat (limited to 'source4/build/smb_build')
-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}})) {