BugID:16967023:[build-rules] fix build error of sdk-testsuites about libcurl.so
@@ -166,8 +166,9 @@ done)
\$(IFLAGS) \\
\$(CFLAGS) \\
\$(filter-out %.a,\$^) \\
+ $( if [ "${i}" = "sdk-testsuites" ] && uname -a|grep -qw Ubuntu; then echo "${TOP_DIR}/${IMPORT_VDRDIR}/${PREBUILT_LIBDIR}/libcurl.a"; fi ) \\
-L${OUTPUT_DIR}/usr/lib \\
- ${LFLAGS} $( if [ "${i}" = "sdk-testsuites" ]; then echo "-lcurl"; fi )
+ ${LFLAGS} $( if [ "${i}" = "sdk-testsuites" ] && ! uname -a|grep -qw Ubuntu; then echo "-lcurl"; fi )
EOB
done
