Shell scripts need to have Unix line endings even on Windows/Cygwin.
This commit is contained in:
parent
f9893e11c4
commit
cee1823dc3
6
tools/make-empty-symbols
Executable file
6
tools/make-empty-symbols
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
echo "#include \"symbols.h\"" > symbols.c
|
||||||
|
echo "const int symbols_nelts = 0;" >> symbols.c
|
||||||
|
echo "const struct symbols symbols[] = {{0,0}};" >> symbols.c
|
||||||
|
echo "#include \"loader/symbols.h\"" > symbols.h
|
||||||
|
echo "extern const struct symbols symbols[1];">> symbols.h
|
Loading…
Reference in a new issue