Use string for NGHTTP2_VERSION_NUM, e.g 0x010800: do not add parentheses

This commit is contained in:
Jan-E 2016-03-13 18:43:44 +01:00
parent 78e5417ff2
commit 4e2972a5dc
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ $(OBJ_DIR)/d_nghttp2.res: $(OBJ_DIR)/nghttp2.rc $(THIS_MAKEFILE)
includes/nghttp2/nghttp2ver.h: includes/nghttp2/nghttp2ver.h.in $(THIS_MAKEFILE)
sed < includes/nghttp2/nghttp2ver.h.in \
-e 's/@PACKAGE_VERSION@/$(VERSION)/g' \
-e 's/@PACKAGE_VERSION_NUM@/($(VERSION_NUM))/g' > $@
-e 's/@PACKAGE_VERSION_NUM@/$(VERSION_NUM)/g' > $@
touch --reference=includes/nghttp2/nghttp2ver.h.in $@