diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2009-11-25 14:36:44 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2009-11-25 14:36:44 +0000 |
commit | ade9d760d36d16a308096972ad1b91bd4aa3201e (patch) | |
tree | 07fd6f39a598931c70e64ac05fe0a7a17a4e621c | |
parent | 7d5b64ff3d588d8dddf0588e55200513bd59aee9 (diff) | |
download | termo-ade9d760d36d16a308096972ad1b91bd4aa3201e.tar.gz termo-ade9d760d36d16a308096972ad1b91bd4aa3201e.tar.xz termo-ade9d760d36d16a308096972ad1b91bd4aa3201e.zip |
Supply --tag=CC to libtool to inform it we're a C library; in case it doesn't detect that (mumble openbsd mumble)
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: |