Codebase list argon2 / 284c8d6
Fix FTBFS on kfreebsd architectures Closes: #1004304 Laurent Bigonville 2 years ago
2 changed file(s) with 12 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 --- a/Makefile
1 +++ b/Makefile
2 @@ -58,7 +58,7 @@ BUILD_PATH := $(shell pwd)
3 KERNEL_NAME := $(shell uname -s)
4
5 LIB_NAME=argon2
6 -ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),Linux GNU))
7 +ifeq ($(KERNEL_NAME), $(filter $(KERNEL_NAME),Linux GNU GNU/kFreeBSD))
8 LIB_EXT := so.$(ABI_VERSION)
9 LIB_CFLAGS := -shared -fPIC -fvisibility=hidden -DA2_VISCTL=1
10 SO_LDFLAGS := -Wl,-soname,lib$(LIB_NAME).$(LIB_EXT)
00 hurd
1 kfreebsd