build: use head -n1 when reading VERSION

pull/25/head
Ariadne Conill 2021-01-08 03:12:33 -07:00
parent 9983d136af
commit 3064ad6dbc
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ endif
LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c)
LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S)
LIBUCONTEXT_VERSION := $(shell head VERSION)
LIBUCONTEXT_VERSION := $(shell head -n 1 VERSION)
LIBUCONTEXT_OBJ = ${LIBUCONTEXT_C_SRC:.c=.o} ${LIBUCONTEXT_S_SRC:.S=.o}
LIBUCONTEXT_SOVERSION = 0
LIBUCONTEXT_NAME = libucontext.so