From a3b8cfbc8f5b18a342dee79fd9928cbcc2fbb025 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 29 Apr 2006 11:32:54 +0000 Subject: r15318: Don't create empty static libraries as some hosts have trouble with them. (This used to be commit 1505d7c6001f8a35e728a14af2885b813c32ebe7) --- source4/build/smb_build/makefile.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/build/smb_build/makefile.pm') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index e6865d5e60..8313044bc9 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -323,6 +323,8 @@ sub StaticLibrary($$) { my ($self,$ctx) = @_; + return unless (defined($ctx->{OBJ_FILES})); + push (@{$self->{static_libs}}, $ctx->{TARGET}); $self->output("$ctx->{TYPE}_$ctx->{NAME}_OUTPUT = $ctx->{OUTPUT}\n"); -- cgit