summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-13 21:05:58 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-13 21:05:58 +0100
commit411776505cea3932a196e8439a8198b4e419d901 (patch)
tree63c74daf190e3ac6151bfaa8830e293759716013 /source4/build
parentb0a7e5476b0510f69d1282bb33b9b7de67a28577 (diff)
downloadsamba-411776505cea3932a196e8439a8198b4e419d901.tar.gz
samba-411776505cea3932a196e8439a8198b4e419d901.tar.bz2
samba-411776505cea3932a196e8439a8198b4e419d901.zip
Fix corner case.
(This used to be commit 92dbbc479032ae3d0cf4b2b9e64291128185cf9c)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/output.pm3
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($)