blob: 800142e1f3f7025d95037d884d6cf764401ed7a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*******************************************************************/
/* slibtool: a skinny libtool implementation, written in C */
/* Copyright (C) 2016--2021 Z. Gilboa */
/* Released under the Standard MIT License; see COPYING.SLIBTOOL. */
/*******************************************************************/
#include <slibtool/slibtool.h>
#include "slibtool_driver_impl.h"
#include "slibtool_dprintf_impl.h"
#include "slibtool_errinfo_impl.h"
int slbt_output_machine(const struct slbt_driver_ctx * dctx)
{
const struct slbt_common_ctx * cctx;
int fdout;
cctx = dctx->cctx;
fdout = slbt_driver_fdout(dctx);
if (slbt_dprintf(fdout,"%s\n",cctx->host.host) < 0)
return SLBT_SYSTEM_ERROR(dctx,0);
return 0;
}
|