From ef66640919222579a5e83b6999abafcdf1e73a3d Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Tue, 20 Aug 2024 01:19:29 +0200 Subject: [PATCH] Static build opt (#48) * static build option * make install static condition --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index c25454a..f2c242f 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,9 @@ clean: install: install -m 755 pcloudcc $(DESTDIR)/bin/pcloudcc +ifeq ($(STATIC), 0) install -m 755 libpcloudcc_lib.so $(DESTDIR)/lib/libpcloudcc_lib.so +endif uninstall: rm -f $(DESTDIR)/bin/pcloudcc