]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix building zstd on OpenBSD. 1090/head
authorBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 31 Mar 2018 08:44:51 +0000 (10:44 +0200)
committerBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 31 Mar 2018 08:46:20 +0000 (10:46 +0200)
Makefile
lib/Makefile

index 320fc68071d4eab0bcd9a03947398395d37ad266..5756e630cc46faac6b7d3c4282474e7e48064bd1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -120,7 +120,7 @@ clean:
 #------------------------------------------------------------------------------
 # make install is validated only for Linux, OSX, Hurd and some BSD targets
 #------------------------------------------------------------------------------
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD MSYS_NT))
+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT))
 
 HOST_OS = POSIX
 CMAKE_PARAMS = -DZSTD_BUILD_CONTRIB:BOOL=ON -DZSTD_BUILD_STATIC:BOOL=ON -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_ZLIB_SUPPORT:BOOL=ON -DZSTD_LZMA_SUPPORT:BOOL=ON
index cdfdc5cdfd461391b9757bd5ed3ef0bedf1b624f..72335a5a917a5affaae5c8fa804e3964095e98ab 100644 (file)
@@ -134,7 +134,7 @@ LIBDIR      ?= $(libdir)
 includedir  ?= $(PREFIX)/include
 INCLUDEDIR  ?= $(includedir)
 
-ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly))
+ifneq (,$(filter $(shell uname),FreeBSD NetBSD DragonFly))
 PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
 else
 PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig