fix link order for static linking; ok niallo@

This commit is contained in:
naddy 2009-03-05 18:20:16 +00:00
parent 1da4f07915
commit 4d4a5173ea

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-BSDmakefile,v 1.1 2009/03/05 18:20:16 naddy Exp $
--- BSDmakefile.orig Thu Mar 5 01:23:23 2009
+++ BSDmakefile Thu Mar 5 01:23:56 2009
@@ -39,7 +39,7 @@ MAN= unworkable.1
all: ${PROG} unworkable.cat1
${PROG}: ${OBJS}
- ${CC} -o ${.TARGET} ${LDFLAGS} -levent -lcrypto ${OBJS}
+ ${CC} -o ${.TARGET} ${OBJS} ${LDFLAGS} -levent -lcrypto
unworkable.cat1: ${MAN}
nroff -Tascii -mandoc $(MAN) > unworkable.cat1