From 61d42e94309c5b2537351e5dab2b84e239344fa0 Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 22 Dec 2006 08:33:01 +0000 Subject: [PATCH] (libchise.la): Specify `-no-undefined' to avoid error on Cygwin [suggested by KAMICHI Koichi ]. (chise.lo): Specify `--mode=compile'. (install.libs): Specify `--mode=install'. --- Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 914e78b..c03edf0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -62,10 +62,11 @@ all: libchise.la libchise.la: $(OBJS) $(LIBTOOL) --mode=link \ $(CC) -o libchise.la $(OBJS) $(LIBS) \ - -rpath ${libdir} -version-info $(ABI_VERSION) + -rpath ${libdir} -version-info $(ABI_VERSION) \ + -no-undefined chise.lo: chise.c chise.h config.h sysdep.h - $(LIBTOOL) $(CC) $(CHISE_CFLAGS) $(CFLAGS) chise.c + $(LIBTOOL) --mode=compile $(CC) $(CHISE_CFLAGS) $(CFLAGS) chise.c install: install.h install.libs @@ -74,7 +75,7 @@ install.h: install -c $(HEADERS) $(INCLUDE_INSTALLDIR) install.libs: libchise.la - $(LIBTOOL) install -c libchise.la $(LIB_INSTALLDIR) + $(LIBTOOL) --mode=install install -c libchise.la $(LIB_INSTALLDIR) sample: sample.c libchise.la -- 1.7.10.4