You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Joseph Hindin (JIRA)" <ji...@apache.org> on 2016/01/30 21:16:39 UTC
[jira] [Updated] (TS-4169) tsxs utility and .lo files on input
[ https://issues.apache.org/jira/browse/TS-4169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph Hindin updated TS-4169:
------------------------------
Attachment: 0001-Accepting-lo-files-as-input.patch
The patch with suggested fix
> tsxs utility and .lo files on input
> -----------------------------------
>
> Key: TS-4169
> URL: https://issues.apache.org/jira/browse/TS-4169
> Project: Traffic Server
> Issue Type: Improvement
> Components: Tools
> Reporter: Joseph Hindin
> Attachments: 0001-Accepting-lo-files-as-input.patch
>
>
> tsxs utility doesn't accept .lo files as input, making it impossible to compile several source files into object files and then link.
> I suggest to modify tsxs utility so that compile() function would ignore .lo files, just adding them into OBJS list, like with the following patch:
> From 5d713c1732c1c3f6b109fbd91674b35081791e6f Mon Sep 17 00:00:00 2001
> From: Joseph Hindin <hi...@gmail.com>
> Date: Sat, 30 Jan 2016 22:14:49 +0200
> Subject: [PATCH] Accepting lo files as input
> ---
> tools/tsxs.in | 3 +++
> 1 file changed, 3 insertions(+)
> diff --git a/tools/tsxs.in b/tools/tsxs.in
> index d5de492..52db966 100755
> --- a/tools/tsxs.in
> +++ b/tools/tsxs.in
> @@ -102,6 +102,9 @@ compile() {
> MY_CFLAGS="$CPPFLAGS $CXXFLAGS"
> MY_CC=$CXX
> ;;
> + lo)
> + OBJS="$OBJS $1"
> + return ;;
> *)
> bail "unrecognized input file: $SRC"
> ;;
> --
> 1.9.1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)