Fix link order so this will build with static linking.

From: maintainer Nicholas Marriott
This commit is contained in:
naddy 2008-08-20 14:57:57 +00:00
parent 6eb4cf50e0
commit 95f99e1887
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile,v 1.1 2008/08/20 14:57:57 naddy Exp $
--- Makefile.orig Thu Aug 7 06:10:08 2008
+++ Makefile Thu Aug 7 06:10:21 2008
@@ -117,7 +117,7 @@ CLEANFILES= ${PROG} *.o compat/*.o y.tab.c y.tab.h .de
all: ${PROG}
${PROG}: ${OBJS}
- ${CC} ${LDFLAGS} -o ${PROG} ${LIBS} ${OBJS}
+ ${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS}
dist: clean manual
grep '^#DEBUG=' Makefile

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile,v 1.1 2008/08/20 14:57:57 naddy Exp $
--- Makefile.orig Tue Jul 1 19:59:59 2008
+++ Makefile Thu Aug 7 06:04:16 2008
@@ -92,7 +92,7 @@ CLEANFILES= ${PROG} *.o .depend *~ ${PROG}.core *.log
all: ${PROG}
${PROG}: ${OBJS}
- ${CC} ${LDFLAGS} -o ${PROG} ${LIBS} ${OBJS}
+ ${CC} ${LDFLAGS} -o ${PROG} ${OBJS} ${LIBS}
depend:
mkdep ${CFLAGS} ${INCDIRS} ${SRCS:M*.c}