kiss-mfavila-small/community-mod/stable/cjson/build
2021-07-28 18:38:44 +00:00

10 lines
223 B
Bash
Executable File

#!/bin/sh -e
# Install static libs, avoid adding a 'cmake' dependency.
for lib in CJSON UTILS; do
sed -i "s/\$(INSTALL) \$(${lib}_SHARED)/& \$(${lib}_STATIC)/" Makefile
done
make
make DESTDIR="$1" PREFIX=/usr install