1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r23635: fix the samba4 build...

we need a bit more work to get linking of
shared libraries completely right...

metze
This commit is contained in:
Stefan Metzmacher 2007-06-27 17:48:30 +00:00 committed by Gerald (Jerry) Carter
parent d260958084
commit 31cbb9ff9f

View File

@ -314,7 +314,8 @@ sub SharedLibrary($$)
$self->_prepare_list($ctx, "FULL_OBJ_LIST");
}
$self->_prepare_list($ctx, "DEPEND_LIST");
$self->_prepare_list_ex($ctx, "LINK_FLAGS", "-Wl,--whole-archive", "-Wl,--no-whole-archive");
$self->_prepare_list($ctx, "LINK_FLAGS");
# $self->_prepare_list_ex($ctx, "LINK_FLAGS", "-Wl,--whole-archive", "-Wl,--no-whole-archive");
push(@{$self->{all_objs}}, "\$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST)");