Print this page
8115 parallel zfs mount
@@ -20,10 +20,11 @@
#
#
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2016 Igor Kozhukhov <ikozhukhov@gmail.com>
# Copyright (c) 2011, 2016 by Delphix. All rights reserved.
+# Copyright 2017 RackTop Systems.
#
LIBRARY= libzfs.a
VERS= .1
@@ -68,12 +69,14 @@
INCS += -I../../libc/inc
C99MODE= -xc99=%all
C99LMODE= -Xc99=%all
LDLIBS += -lc -lm -ldevid -lgen -lnvpair -luutil -lavl -lefi \
- -ladm -lidmap -ltsol -lmd -lumem -lzfs_core -lcmdutils
-CPPFLAGS += $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
+ -ladm -lidmap -ltsol -lmd -lumem -lzfs_core -lcmdutils \
+ -lfakekernel
+CPPFLAGS += $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT \
+ -D_FAKE_KERNEL
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
# There's no lint library for zlib, so only include this when building
$(DYNLIB) := LDLIBS += -lz