Skip to content

Commit

Permalink
Makefile: allow for statically linked libs
Browse files Browse the repository at this point in the history
  • Loading branch information
attipaci committed Dec 27, 2024
1 parent bad08be commit afd3b6f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ INSTALL_TARGETS := install-headers

# Build for distribution
.PHONY: distro
distro: shared $(DOC_TARGETS)
ifeq ($(STATICLINK),1)
distro: static
else
distro: shared
endif
distro: $(DOC_TARGETS)

# Shared libraries (versioned and unversioned)
.PHONY: shared
Expand Down

0 comments on commit afd3b6f

Please sign in to comment.