link to compat/ even in regress

this unlocks the full regress tests on arch, for instance, or every
OS where we don't have strl*
This commit is contained in:
Omar Polo 2021-02-10 22:06:16 +00:00
parent 6827d2781e
commit 4ad0601d18
2 changed files with 12 additions and 5 deletions

8
configure vendored
View File

@ -364,7 +364,6 @@ CFLAGS = ${CFLAGS}
LDFLAGS = ${LDFLAGS}
YACC = ${YACC}
LEX = ${LEX}
COMPAT = ${COMPAT}
STATIC = ${STATIC}
PREFIX = ${PREFIX}
BINDIR = ${BINDIR}
@ -375,8 +374,15 @@ INSTALL_PROGRAM = ${INSTALL_PROGRAM}
INSTALL_LIB = ${INSTALL_LIB}
INSTALL_MAN = ${INSTALL_MAN}
INSTALL_DATA = ${INSTALL_DATA}
__HEREDOC__
printf "COMPAT ="
for comp in ${COMPAT}; do
printf " %s/%s" "$PWD" "$comp"
done
printf "\n"
echo "file Makefile.local: written" 1>&2
echo "file Makefile.local: written" 1>&3

View File

@ -7,11 +7,12 @@ all: puny-test testdata iri_test cert.pem testca.pem valid.crt invalid.cert.pem
./runtime
./iri_test
puny-test: puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o
${CC} puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o -o puny-test ${LDFLAGS}
puny-test: puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o ${COMPAT}
${CC} puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o ${COMPAT} \
-o puny-test ${LDFLAGS}
iri_test: iri_test.o ../iri.o ../utf8.o
${CC} iri_test.o ../iri.o ../utf8.o -o iri_test
iri_test: iri_test.o ../iri.o ../utf8.o ${COMPAT}
${CC} iri_test.o ../iri.o ../utf8.o ${COMPAT} -o iri_test
fill-file: fill-file.o
${CC} fill-file.o -o fill-file