mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Makefile: Add API_ONLY variable
This commit is contained in:
parent
bbf16279bb
commit
867d488931
1 changed files with 9 additions and 4 deletions
13
Makefile
13
Makefile
|
@ -31,6 +31,10 @@ ifeq ($(DISABLE_QUIC), 1)
|
|||
FLAGS += -Ddisable_quic
|
||||
endif
|
||||
|
||||
ifeq ($(API_ONLY), 1)
|
||||
FLAGS += -Dapi_only
|
||||
endif
|
||||
|
||||
|
||||
# -----------------------
|
||||
# Main
|
||||
|
@ -106,11 +110,12 @@ help:
|
|||
@echo ""
|
||||
@echo "Build options available for this Makefile:"
|
||||
@echo ""
|
||||
@echo " RELEASE Make a release build (Default: 1)"
|
||||
@echo " STATIC Link libraries statically (Default: 0)"
|
||||
@echo " RELEASE Make a release build (Default: 1)"
|
||||
@echo " STATIC Link libraries statically (Default: 0)"
|
||||
@echo ""
|
||||
@echo " DISABLE_QUIC Disable support for QUIC (Default: 0)"
|
||||
@echo " NO_DBG_SYMBOLS Strip debug symbols (Default: 0)"
|
||||
@echo " API_ONLY Build invidious without a GUI (Default: 0)"
|
||||
@echo " DISABLE_QUIC Disable support for QUIC (Default: 0)"
|
||||
@echo " NO_DBG_SYMBOLS Strip debug symbols (Default: 0)"
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue