From 14dec66fb3681c0efb550dce210c76530f2023aa Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 11 Sep 2008 12:53:07 +0000 Subject: [PATCH] Now supporting libtool --- src/configure.c | 3 ++- src/configure.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/configure.c b/src/configure.c index 8a30040..ce1d343 100644 --- a/src/configure.c +++ b/src/configure.c @@ -65,7 +65,8 @@ const struct HostKernel sHostKernel[] = { HO_UNKNOWN, "unknown" } }; -const String * sTargetType[TT_COUNT] = { "binary", "library", "object", NULL }; +const String * sTargetType[TT_COUNT] = { "binary", "library", "libtool", + "object", NULL }; const String * sObjectType[OT_COUNT] = { "c", "cc", "cpp", "S", NULL }; String const * _source_extension(String const * source) diff --git a/src/configure.h b/src/configure.h index 77a6dbb..dfb6b78 100644 --- a/src/configure.h +++ b/src/configure.h @@ -66,7 +66,7 @@ extern const struct HostKernel sHostKernel[HK_COUNT]; typedef enum _TargetType { - TT_BINARY = 0, TT_LIBRARY, TT_OBJECT, TT_UNKNOWN + TT_BINARY = 0, TT_LIBRARY, TT_LIBTOOL, TT_OBJECT, TT_UNKNOWN } TargetType; # define TT_LAST TT_UNKNOWN # define TT_COUNT (TT_LAST + 1)