nixpkgs/pkgs/servers/dict/buildfix.diff
2014-01-31 13:18:06 +01:00

12 lines
305 B
Diff

--- Makefile.in~ 2011-03-06 18:52:54.000000000 +0100
+++ Makefile.in 2014-01-29 19:04:51.384844897 +0100
@@ -123,7 +123,7 @@
%: %.o
$(LIBTOOL) --tag=CC --mode=link $(CC) -o $@ -static \
- $^ $(OBJS) $(LDFLAGS) -lz ${LIBS}
+ $(^:.o=.lo) $(OBJS) $(LDFLAGS) -lz ${LIBS}
include $(srcdir)/deps