@@ -1622,10 +1622,6 @@ fi
if test "$vde" = "yes" ; then
echo "CONFIG_VDE=y" >> $config_host_mak
fi
-for card in $audio_card_list; do
- def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
- echo "$def=y" >> $config_host_mak
-done
echo "CONFIG_AUDIO_DRIVERS=$audio_drv_list" >> $config_host_mak
for drv in $audio_drv_list; do
def=CONFIG_`echo $drv | tr '[:lower:]' '[:upper:]'`
@@ -2207,6 +2203,11 @@ if test "$target_softmmu" = "yes" ; then
ldflags="-Wl,-G0 $linker_script -static $ldflags"
;;
esac
+
+for card in $audio_card_list; do
+ def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
+ echo "$def=y" >> $config_mak
+done
fi
echo "LDFLAGS+=$ldflags" >> $config_mak
Signed-off-by: Juan Quintela <quintela@redhat.com> --- configure | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)