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