summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-04-02 17:29:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:44 -0500
commit4873704e5a2ecdf13185ac1787ae912d231fc579 (patch)
tree10aded2ccf0a93d916326cb0410d652a26691123 /source4/build/smb_build
parentc09f40214ec068e4dbf915222f13cbe86f96582c (diff)
downloadsamba-4873704e5a2ecdf13185ac1787ae912d231fc579.tar.gz
samba-4873704e5a2ecdf13185ac1787ae912d231fc579.tar.bz2
samba-4873704e5a2ecdf13185ac1787ae912d231fc579.zip
r22037: Make sure STATICDIR exists before linking a static archive.
(This used to be commit c8ffdc15420c9b849b8d8e930f644ac6f83dcc77)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/makefile.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 3cf764bf22..a7b5d4cb1c 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -337,6 +337,7 @@ sub StaticLibrary($$)
$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__