svn commit: samba r25094 - in branches/SAMBA_4_0: . source/build/smb_build

jelmer at samba.org jelmer at samba.org
Tue Sep 11 17:29:49 GMT 2007


Author: jelmer
Date: 2007-09-11 17:29:49 +0000 (Tue, 11 Sep 2007)
New Revision: 25094

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25094

Log:
Force building shared module if subsystem is a shared library.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/build/smb_build/input.pm


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:file-ids
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/build/smb_build/input.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/input.pm	2007-09-11 17:27:25 UTC (rev 25093)
+++ branches/SAMBA_4_0/source/build/smb_build/input.pm	2007-09-11 17:29:49 UTC (rev 25094)
@@ -91,7 +91,11 @@
 	}
 
 	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}})) {



More information about the samba-cvs mailing list