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

jpeach at samba.org jpeach at samba.org
Mon Apr 2 17:29:05 GMT 2007


Author: jpeach
Date: 2007-04-02 17:29:03 +0000 (Mon, 02 Apr 2007)
New Revision: 22037

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

Log:
Make sure STATICDIR exists before linking a static archive.

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2007-04-02 17:26:18 UTC (rev 22036)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm	2007-04-02 17:29:03 UTC (rev 22037)
@@ -337,6 +337,7 @@
 $ctx->{TARGET_STATIC_LIBRARY}: \$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST)
 	\@echo Linking \$@
 	\@rm -f \$@
+	\@mkdir -p $ctx->{STATICDIR}
 	\@\$(STLD) \$(STLD_FLAGS) \$@ \$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST)
 
 __EOD__



More information about the samba-cvs mailing list