Browse Source

Update windows build for new config.mak

pull/1094/head
Hamish Coleman 1 year ago
parent
commit
bee517a753
  1. 14
      scripts/hack_fakeautoconf.sh

14
scripts/hack_fakeautoconf.sh

@ -3,13 +3,13 @@
# Specifically for windows, where installing autoconf looks suspiciously # Specifically for windows, where installing autoconf looks suspiciously
# like boiling the ocean. # like boiling the ocean.
sed \ cat >config.mak <<EOF
-e "s%@CC@%gcc%g" \ CC=gcc
-e "s%@AR@%ar%g" \ AR=ar
-e "s%@CFLAGS@%$CFLAGS%g" \ CFLAGS=$CFLAGS
-e "s%@LDFLAGS@%$LDFLAGS%g" \ LDFLAGS=$LDFLAGS
-e "s%@N2N_LIBS@%$LDLIBS%g" \ N2N_LIBS_EXTRA=$LDLIBS
< Makefile.in > Makefile EOF
sed \ sed \
-e "s%@ADDITIONAL_TOOLS@%%g" \ -e "s%@ADDITIONAL_TOOLS@%%g" \

Loading…
Cancel
Save