mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Fix building when commit-id is not found
This commit is contained in:
parent
9921e58aba
commit
150beefabb
@ -85,8 +85,9 @@ ELINKSLIBS = \
|
|||||||
|
|
||||||
# Get the GIT HEAD ID if possible
|
# Get the GIT HEAD ID if possible
|
||||||
ifdef COMMIT_ID
|
ifdef COMMIT_ID
|
||||||
INCLUDES += -DBUILD_ID="\"$$($(COMMIT_ID) 2> /dev/null)\""
|
BUILD_ID=$(shell $(COMMIT_ID) 2> /dev/null)
|
||||||
endif
|
endif
|
||||||
|
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""
|
||||||
|
|
||||||
OBJS = vernum.o
|
OBJS = vernum.o
|
||||||
vernum.o: FORCE
|
vernum.o: FORCE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user