From 9963e33f7f8e47b38d0ce353aba817154d4631a8 Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 22 Dec 2006 08:21:11 +0000 Subject: [PATCH] (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'. --- Makefile.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 -- 1.7.10.4