]> granicus.if.org Git - icu/commitdiff
ICU-9152 include icuio library
authorSteven R. Loomis <srl@icu-project.org>
Fri, 28 Sep 2012 01:49:52 +0000 (01:49 +0000)
committerSteven R. Loomis <srl@icu-project.org>
Fri, 28 Sep 2012 01:49:52 +0000 (01:49 +0000)
X-SVN-Rev: 32458

tools/scripts/icurun

index 72ec53364c1ec85000a1fc33c403f9aae413be82..82aa22f7a547c103d1fe72d48662c01d2c644c2e 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Copyright (C) 2011 IBM Corporation and Others. All Rights Reserved.
+# Copyright (C) 2011-2012 IBM Corporation and Others. All Rights Reserved.
 #
 # This is designed for building and running single-source-file ICU programs.
 #
@@ -159,7 +159,7 @@ then
     ICU_CONFIG_OPTS=--noverify
     LINKOPTS="--ldflags-libsonly --ldflags-system --ldflags-icuio"
     OURLIBPATH=${IN_SOURCE}/lib:${IN_SOURCE}/stubdata:${IN_SOURCE}/tools/ctestfw
-    SRC_OPTS="-I${top_srcdir}/common -I${top_srcdir}/i18n -I${top_srcdir}/tools/ctestfw -I${top_srcdir}/tools/toolutil -I${IN_SOURCE}/common -L${IN_SOURCE}/lib -L${IN_SOURCE}/stubdata -L${IN_SOURCE}/tools/ctestfw"
+    SRC_OPTS="-I${top_srcdir}/common -I${top_srcdir}/i18n  -I${top_srcdir}/io -I${top_srcdir}/tools/ctestfw -I${top_srcdir}/tools/toolutil -I${IN_SOURCE}/common -L${IN_SOURCE}/lib -L${IN_SOURCE}/stubdata -L${IN_SOURCE}/tools/ctestfw"
     INVOKE=`${ICU_CONFIG} ${ICU_CONFIG_OPTS} --invoke`:"${OURLIBPATH}"
 else
     # no cppflags for in-source
@@ -199,6 +199,6 @@ case "${FILE}" in
      ;;
 esac
 
-echo "# ${COMP}" -o "${OUT}" "${FILE}" "${XTRA_OPTS}"
+echo "# ${COMP}" "${SRC_OPTS}" -o "${OUT}" "${FILE}" "${XTRA_OPTS}"
 ( ${COMP} ${SRC_OPTS} -o "${OUT}" "${FILE}" ${XTRA_OPTS} || (rm -f "${OUT}" ; exit 1) )  && ( echo "# ${INVOKE} ./${OUT}" ; "${SHELL}" -c "${INVOKE} ./${OUT}" "$@")