diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-13 21:05:58 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-13 21:05:58 +0100 |
commit | 411776505cea3932a196e8439a8198b4e419d901 (patch) | |
tree | 63c74daf190e3ac6151bfaa8830e293759716013 | |
parent | b0a7e5476b0510f69d1282bb33b9b7de67a28577 (diff) | |
download | samba-411776505cea3932a196e8439a8198b4e419d901.tar.gz samba-411776505cea3932a196e8439a8198b4e419d901.tar.bz2 samba-411776505cea3932a196e8439a8198b4e419d901.zip |
Fix corner case.
(This used to be commit 92dbbc479032ae3d0cf4b2b9e64291128185cf9c)
-rw-r--r-- | source4/build/smb_build/output.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/build/smb_build/output.pm b/source4/build/smb_build/output.pm index 3088a98c8c..855d03ade2 100644 --- a/source4/build/smb_build/output.pm +++ b/source4/build/smb_build/output.pm @@ -104,10 +104,11 @@ sub generate_static_library($) if (defined($lib->{OBJ_FILES})) { $lib->{TARGET_STATIC_LIBRARY} = "bin/static/$lib->{LIBRARY_NAME}"; $lib->{STATICDIR} = 'bin/static'; + $lib->{OUTPUT_STATIC_LIBRARY} = "-l".lc($link_name); } else { $lib->{TARGET_STATIC_LIBRARY} = ""; + $lib->{OUTPUT_STATIC_LIBRARY} = ""; } - $lib->{OUTPUT_STATIC_LIBRARY} = "-l".lc($link_name); } sub generate_binary($) |