From: tomo Date: Fri, 22 Dec 2006 08:33:01 +0000 (+0000) Subject: (libchise.la): Specify `-no-undefined' to avoid error on Cygwin X-Git-Tag: chise-base-0_24~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=61d42e94309c5b2537351e5dab2b84e239344fa0;p=chise%2Flibchise.git (libchise.la): Specify `-no-undefined' to avoid error on Cygwin [suggested by KAMICHI Koichi ]. (chise.lo): Specify `--mode=compile'. (install.libs): Specify `--mode=install'. --- 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