diff --git a/Makefile b/Makefile index e91763b9efea96191de1a609b37906adc95571ba..2c3a7d7eb64353ef6437bcf3bc5a1575f7d34f27 100644 --- a/Makefile +++ b/Makefile @@ -110,7 +110,11 @@ documentation: install: install-progs install-libs install-headers install-man $(INSTALLVHOOK) +ifeq ($(BUILD_SHARED),yes) +install-progs: $(PROG) install-libs +else install-progs: $(PROG) +endif install -d "$(bindir)" install -c $(INSTALLSTRIP) -m 755 $(PROG) "$(bindir)"