From afb43ec103ea5c0e194451c1289c514faee3b2e5 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 4 Jul 2009 19:23:00 +0200 Subject: [PATCH] para_server: Don't link with stat.o. We linked stat.o only because command.o needs the status item array. Definining this array in command.c allows to link para_server without stat.o. --- command.c | 1 + configure.ac | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/command.c b/command.c index becd561b..f8b5e4ee 100644 --- a/command.c +++ b/command.c @@ -44,6 +44,7 @@ extern struct misc_meta_data *mmd; extern struct sender senders[]; int send_afs_status(struct rc4_context *rc4c, int parser_friendly); +const char *status_item_list[] = {STATUS_ITEM_ARRAY}; static void dummy(__a_unused int s) { diff --git a/configure.ac b/configure.ac index fde72f2a..f3d57325 100644 --- a/configure.ac +++ b/configure.ac @@ -125,7 +125,7 @@ afh_ldflags="" server_cmdline_objs="server.cmdline server_command_list afs_command_list" server_errlist_objs="server afh_common mp3_afh vss command net string signal - time daemon stat crypt http_send close_on_fork + time daemon crypt http_send close_on_fork ipc dccp_send fd user_list chunk_queue afs aft mood score attribute blob playlist sha1 sched acl send_common udp_send color fec" server_ldflags="-losl" -- 2.39.5