From 4873704e5a2ecdf13185ac1787ae912d231fc579 Mon Sep 17 00:00:00 2001 From: James Peach Date: Mon, 2 Apr 2007 17:29:03 +0000 Subject: r22037: Make sure STATICDIR exists before linking a static archive. (This used to be commit c8ffdc15420c9b849b8d8e930f644ac6f83dcc77) --- source4/build/smb_build/makefile.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/build/smb_build') 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__ -- cgit