Submitted By: Your Name (your at email dot address)
Date: 2010-10-21
Initial Package Version: 0.5.9
Origin: me
Upstream Status: unknown
Description: correct linking order for asneeded
 
diff -Naur yap2lc-0.5.9.orig/Makefile.in yap2lc-0.5.9/Makefile.in
--- yap2lc-0.5.9.orig/Makefile.in	2003-12-22 18:47:56.000000000 +0000
+++ yap2lc-0.5.9/Makefile.in	2010-10-21 18:45:03.358405760 +0000
@@ -8,7 +8,7 @@
 	$(CC) -c $(CFLAGS) yap2lc_regexp.c
 	$(CC) -c $(CFLAGS) yap2lc_sanity.c
 	$(CC) -c $(CFLAGS) yap2lc_mals.c
-	$(CC) $(LDFLAGS) -o yap2lc yap2lc.o yap2lc_log.o yap2lc_regexp.o yap2lc_sanity.o yap2lc_mals.o
+	$(CC) yap2lc.o yap2lc_log.o yap2lc_regexp.o yap2lc_sanity.o yap2lc_mals.o $(LDFLAGS) -o yap2lc
 	@echo Stripping the binary...
 	@strip yap2lc
 	@rm -f *.o