diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2021-05-31 17:08:09 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2021-05-31 17:38:33 +0100 |
commit | a88ad680422949dfe2d16a544a529649c6d07109 (patch) | |
tree | df4d9463a099d4b87cd0f201f80db5c5d628ffad /.link-library.do | |
parent | 13ceac75a8ed37ddc02df2b41627329c4da24b04 (diff) | |
download | pack-a88ad680422949dfe2d16a544a529649c6d07109.tar.gz pack-a88ad680422949dfe2d16a544a529649c6d07109.tar.xz pack-a88ad680422949dfe2d16a544a529649c6d07109.zip |
Update build system to the latest luiml version
Diffstat (limited to '.link-library.do')
-rwxr-xr-x | .link-library.do | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.link-library.do b/.link-library.do new file mode 100755 index 0000000..09aaf90 --- /dev/null +++ b/.link-library.do @@ -0,0 +1,12 @@ +#!/bin/bash -e +redo-ifchange .config.rc +. ./.config.rc +exec >"$3" +echo "# generated by $0" +echo "CC=$CC" +echo "LDFLAGS=(${LDFLAGS[@]@Q} -shared)" +echo "LDLIBS=(${LDLIBS[@]@Q})" +echo '"$CC" "${LDFLAGS[@]}" "${objects[@]}" "${LDLIBS[@]}" -o "$3"' +if command -v redo-stamp >/dev/null 2>&1; then + redo-stamp <"$3" +fi |