diff options
author | James Peach <jpeach@samba.org> | 2007-04-02 17:29:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:44 -0500 |
commit | 4873704e5a2ecdf13185ac1787ae912d231fc579 (patch) | |
tree | 10aded2ccf0a93d916326cb0410d652a26691123 /source4/build/smb_build | |
parent | c09f40214ec068e4dbf915222f13cbe86f96582c (diff) | |
download | samba-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.pm | 1 |
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__ |