[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Dogfood v1.0.2 has been released; an alternative for building self contained Lua executables
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 25 Aug 2020 18:06:54 -0300
Here are the changes I made to build dogfood in macOS 10.11.6.
Perhaps use "wc -c < $1" instead of stat?
diff -r ../Downloads/dogfood-master/bootstrap.sh dogfood-master/bootstrap.sh
11c11
< PAYLOAD=$(printf "\r\n-- dogfood %08X\r\n" $(stat -L -c %s $1))
---
> PAYLOAD=$(printf "\r\n-- dogfood %08X\r\n" $(stat -L -f %z $1))
18c18
< printf "\r\n-- food %08X\r\n" $(stat -L -c %s $2) >> $3
---
> printf "\r\n-- food %08X\r\n" $(stat -L -f %z $2) >> $3
diff -r ../Downloads/dogfood-master/makefile dogfood-master/makefile
57c57
< $(CC) $(CFLAGS) -shared -o $@ -fPIC $+
---
> $(CC) $(CFLAGS) -bundle -undefined dynamic_lookup -o $@ $+