summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/makefile.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/makefile.pm')
-rw-r--r--source4/build/smb_build/makefile.pm2
1 files changed, 2 insertions, 0 deletions
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");