From: tomo Date: Fri, 22 Dec 2006 08:21:11 +0000 (+0000) Subject: (libconcord.la): Add `-no-undefined' to avoid error on Cygwin. X-Git-Tag: chise-base-0_24~7 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9963e33f7f8e47b38d0ce353aba817154d4631a8;p=chise%2Fconcord.git (libconcord.la): Add `-no-undefined' to avoid error on Cygwin. (concord.lo): Specify `--mode=compile'. (concord-bdb.lo): ditto. (name.lo): ditto. (install.libs): Specify `--mode=install'. --- diff --git a/Makefile.in b/Makefile.in index 216c4bd..80966f0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -49,16 +49,17 @@ all: libconcord.la libconcord.la: $(OBJS) $(LIBTOOL) --mode=link \ $(CC) -o libconcord.la $(OBJS) $(LIBS) \ - -rpath ${libdir} -version-info $(ABI_VERSION) + -rpath ${libdir} -version-info $(ABI_VERSION) \ + -no-undefined concord.lo: concord.c concord.h config.h sysdep.h - $(LIBTOOL) $(CC) $(CFLAGS) concord.c + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) concord.c concord-bdb.lo: concord-bdb.c concord-bdb.h concord-name.h - $(LIBTOOL) $(CC) $(CFLAGS) concord-bdb.c + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) concord-bdb.c name.lo: name.c concord-name.h - $(LIBTOOL) $(CC) $(CFLAGS) name.c + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) name.c install: install.h install.libs @@ -67,7 +68,7 @@ install.h: install -c $(HEADERS) $(INCLUDE_INSTALLDIR) install.libs: libconcord.la - $(LIBTOOL) install -c libconcord.la $(LIB_INSTALLDIR) + $(LIBTOOL) --mode=install install -c libconcord.la $(LIB_INSTALLDIR) sample: sample.c libconcord.la