diff --git a/configure b/configure index 4111e7c..533fa35 100755 --- a/configure +++ b/configure @@ -1708,6 +1708,11 @@ elif check_linker_flags -z,allextract -z,defaultextract ; then # Solaris ld echo "ARLIBS_BEGIN=-Wl,-z,allextract" >> $config_mak echo "ARLIBS_END=-Wl,-z,defaultextract" >> $config_mak +elif check_linker_flags -all_load ; then + echo "ARLIBS_BEGIN=-all_load" >> $config_mak + # This is technically obsolete but it seems like it would be necessary +# echo "ARLIBS_END=-noall_load" >> $config_mak + echo "ARLIBS_END=" >> $config_mak else echo "Error: your linker does not support --whole-archive or -z." echo "Please report to qemu-devel@nongnu.org"