兼容 asr1903

Change-Id: I3888f1adc86ea1fa73af4996d31f40223c0e5735
diff --git a/build.sh b/build.sh
index 30a0414..201bf90 100755
--- a/build.sh
+++ b/build.sh
@@ -14,6 +14,8 @@
 	export BUILD_STD_LIBC=glibc
 fi
 
+export BUILD_GCC_VERSION=`cat config | grep CONFIG_GCC_VERSION | cut -d '=' -f 2`
+
 if [ -n "$1" ] ;then
 	case "$1" in
 		v1)
@@ -156,6 +158,12 @@
 	if [ ! -d out/bin ];then
 		mkdir -p out/bin
 	fi
+	
+	if [ "$BUILD_LIBC_TEMP" == "musl" ];then
+		[ -f mbtk/libmbtk_lib/wifi/libs/libwpa_client_musl.so ] && cp -f mbtk/libmbtk_lib/wifi/libs/libwpa_client_musl.so mbtk/libmbtk_lib/wifi/libs/libwpa_client.so
+	else
+		[ -f mbtk/libmbtk_lib/wifi/libs/libwpa_client_glibc.so ] && cp -f mbtk/libmbtk_lib/wifi/libs/libwpa_client_glibc.so mbtk/libmbtk_lib/wifi/libs/libwpa_client.so
+	fi
 
 	if [ -n "$1" ] ;then
 		if [ "$1" == "v1" -o "$1" == "v2" ];then