Re: [PATCH] apparmor: fix build error undefined reference to zlib_*

2019-02-12 Thread John Johansen
On 2/12/19 1:48 AM, Anders Roxell wrote: > With commit 876dd866c084 ("apparmor: Initial implementation of raw > policy blob compression") and SECURITY_APPARMOR is set to '=y' > ZLIB_DEFLATE must be enabled as well for the linker to see the symbols. > > aarch64-linux-gnu-ld: security/apparmor/polic

[PATCH] apparmor: fix build error undefined reference to zlib_*

2019-02-12 Thread Anders Roxell
With commit 876dd866c084 ("apparmor: Initial implementation of raw policy blob compression") and SECURITY_APPARMOR is set to '=y' ZLIB_DEFLATE must be enabled as well for the linker to see the symbols. aarch64-linux-gnu-ld: security/apparmor/policy_unpack.o: in function `deflate_compress': ../sec