]> rtime.felk.cvut.cz Git - sojka/sterm.git/blobdiff - Makefile
Fix cross build
[sojka/sterm.git] / Makefile
index 6c04adf52a3fd4acfe062a3ce187b6d5e2e19728..9f3394a96b817812b82897df20a7e26450d2c5fa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,9 @@ LDLIBS = -llockdev
 endif
 
 PREFIX ?= /usr/local
+STRIP ?= strip
 INSTALL ?= install
-INSTALL_BIN ?= install -s
+INSTALL_BIN ?= install --strip-program=$(STRIP) -s
 
 all: sterm