Static build opt (#48)

* static build option

* make install static condition
This commit is contained in:
Levi Neely 2024-08-20 01:19:29 +02:00 committed by GitHub
parent 4cd556cb13
commit ef66640919
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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