Fix linking line so that it works on static archs (vax)

This commit is contained in:
pvalchev 2002-09-24 06:54:32 +00:00
parent e080f22cd5
commit 8fa288c55d

View File

@ -0,0 +1,20 @@
$OpenBSD: patch-Makefile,v 1.4 2002/09/24 06:54:32 pvalchev Exp $
--- Makefile.orig Tue Sep 24 00:38:07 2002
+++ Makefile Tue Sep 24 00:38:09 2002
@@ -88,13 +88,13 @@ standalone: apg apgbfm
cygwin: standalone
apg:
- ${CC} ${FLAGS} ${LIBS} ${LIBM} -D${CRYPTED_PASS} -D${USE_SHA} -o ${PROGNAME} ${SOURCES}
+ ${CC} ${FLAGS} -D${CRYPTED_PASS} -D${USE_SHA} -o ${PROGNAME} ${SOURCES} ${LIBS} ${LIBM}
apgd:
- ${CC} ${FLAGS} ${CS_LIBS} ${LIBM} -DCLISERV -D${USE_SHA} -o ${CS_PROGNAME} ${SOURCES}
+ ${CC} ${FLAGS} -DCLISERV -D${USE_SHA} -o ${CS_PROGNAME} ${SOURCES} ${CS_LIBS} ${LIBM}
apgbfm:
- ${CC} ${FLAGS} ${LIBM} -o ${BFM_PROGNAME} ${BFM_SOURCES}
+ ${CC} ${FLAGS} -o ${BFM_PROGNAME} ${BFM_SOURCES} ${LIBM}
strip:
strip ${PROGNAME}