1
0
Fork 0

Fix building when commit-id is not found

This commit is contained in:
Jonas Fonseca 2005-09-17 16:21:35 +02:00 committed by Jonas Fonseca
parent 9921e58aba
commit 150beefabb
1 changed files with 2 additions and 1 deletions

View File

@ -85,8 +85,9 @@ ELINKSLIBS = \
# Get the GIT HEAD ID if possible
ifdef COMMIT_ID
INCLUDES += -DBUILD_ID="\"$$($(COMMIT_ID) 2> /dev/null)\""
BUILD_ID=$(shell $(COMMIT_ID) 2> /dev/null)
endif
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""
OBJS = vernum.o
vernum.o: FORCE