Depend on debug names of shared libs for linking.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 27 May 2008 23:41:57 +0000 (01:41 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 27 May 2008 23:41:57 +0000 (01:41 +0200)
(This used to be commit 2e3296f181acd8010cb1465097b91ae8cbf38b5f)

source4/build/smb_build/output.pm

index f9f12c3a7326717a63fa9e8b419cd343ffc00d4f..76c6d3fc8fe6f1d9ccbd2f74b892b5f22f9dde7a 100644 (file)
@@ -52,7 +52,7 @@ sub generate_shared_library($)
        
        $lib->{RESULT_SHARED_LIBRARY} = "$lib->{SHAREDDIR}/$lib->{LIBRARY_REALNAME}";
        $lib->{OUTPUT_SHARED_LIBRARY} = "-l$link_name";
-       $lib->{TARGET_SHARED_LIBRARY} = $lib->{RESULT_SHARED_LIBRARY};
+       $lib->{TARGET_SHARED_LIBRARY} = "$lib->{SHAREDDIR}/$lib->{LIBRARY_DEBUGNAME}";
 }
 
 sub generate_merged_obj($)