tools/xz: disable shared library
[openwrt/staging/wigyori.git] / tools / xz / patches / 100-freebsd-compat.patch
1 --- a/src/common/tuklib_integer.h
2 +++ b/src/common/tuklib_integer.h
3 @@ -48,7 +48,7 @@
4 // Operating system specific features //
5 ////////////////////////////////////////
6
7 -#if defined(HAVE_BYTESWAP_H)
8 +#if defined(HAVE_BYTESWAP_H) && !defined(__FreeBSD__)
9 // glibc, uClibc, dietlibc
10 # include <byteswap.h>
11 # ifdef HAVE_BSWAP_16