Commit bd5bde51 authored by Charlie Jacobsen's avatar Charlie Jacobsen Committed by Vikram Narayanan
Browse files

build-refactor-2: Add ar script to combine libcap.a into liblcd.

This relies on GNU ar scripts (not supported by other versions
of ar, fyi).
parent ff630892
......@@ -106,7 +106,19 @@ LIBLCD_LIBCAP=$(LIBLCD_BUILD_DIR)/libcap.install/lib/libcap.a
liblcd: $(LIBLCD_BUILD_DIR)/Kbuild $(LIBLCD_LIBCAP) | \
"CREATE $(LIBLCD_BUILD_DIR)/liblcd.a\n" \
"ADDLIB $(LIBLCD_BUILD_DIR)/libcap.install/lib/libcap.a\n" \
"SAVE\n" \
liblcd: $(LIBLCD_BUILD_DIR)/liblcd.a
echo $(LIBLCD_AR_SCRIPT) | ar -M
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment