diff options
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/smb_build/output.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm index e6cbcc0036..52a7f1b639 100644 --- a/source4/build/smb_build/output.pm +++ b/source4/build/smb_build/output.pm @@ -85,12 +85,12 @@ sub generate_static_library($) $lib->{LIBRARY_NAME} = "lib".lc($link_name).".a"; push(@{$lib->{LINK_FLAGS}}, "\$($lib->{TYPE}_$lib->{NAME}\_OBJ_LIST)"); - $lib->{TARGET} = "bin/$lib->{LIBRARY_NAME}"; if (defined($lib->{OBJ_FILES})) { - $lib->{OUTPUT} = $lib->{TARGET}; + $lib->{TARGET} = "bin/$lib->{LIBRARY_NAME}"; } else { - $lib->{OUTPUT} = ""; + $lib->{TARGET} = ""; } + $lib->{OUTPUT} = $lib->{TARGET}; } sub generate_binary($) |