Skip to content

Commit

Permalink
Do not try to install modules if build is static. (baresip#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
juha-h authored Jul 7, 2020
1 parent 61aa655 commit 09f9e68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,10 @@ $(BUILD): Makefile
install: $(BIN) $(MOD_BINS)
@mkdir -p $(DESTDIR)$(BINDIR)
$(INSTALL) -m 0755 $(BIN) $(DESTDIR)$(BINDIR)
ifeq ($(STATIC),)
@mkdir -p $(DESTDIR)$(MOD_PATH)
$(INSTALL) -m 0644 $(MOD_BINS) $(DESTDIR)$(MOD_PATH)
endif
@mkdir -p $(DESTDIR)$(SHARE_PATH)
$(INSTALL) -m 0644 share/* $(DESTDIR)$(SHARE_PATH)

Expand Down

0 comments on commit 09f9e68

Please sign in to comment.