From ade9d760d36d16a308096972ad1b91bd4aa3201e Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 25 Nov 2009 14:36:44 +0000 Subject: [PATCH] Supply --tag=CC to libtool to inform it we're a C library; in case it doesn't detect that (mumble openbsd mumble) --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8836e7f..fb02d43 100644 --- a/Makefile +++ b/Makefile @@ -27,16 +27,16 @@ OBJECTS=termkey.lo driver-csi.lo driver-ti.lo LIBRARY=libtermkey.la %.lo: %.c termkey.h termkey-internal.h - $(LIBTOOL) --mode=compile gcc $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -o $@ -c $< + $(LIBTOOL) --mode=compile --tag=CC gcc $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -o $@ -c $< $(LIBRARY): $(OBJECTS) - $(LIBTOOL) --mode=link gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -lncurses -o $@ $^ + $(LIBTOOL) --mode=link --tag=CC gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -lncurses -o $@ $^ demo: $(LIBRARY) demo.lo - $(LIBTOOL) --mode=link gcc -o $@ $^ + $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^ demo-async: $(LIBRARY) demo-async.lo - $(LIBTOOL) --mode=link gcc -o $@ $^ + $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^ .PHONY: clean clean: