wireguard: fix portability issue
authorFelix Fietkau <nbd@nbd.name>
Sat, 11 Nov 2017 12:15:24 +0000 (13:15 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 16 Nov 2017 21:44:45 +0000 (22:44 +0100)
commitd851d7fa56d68f45c647d4c567268b08e852d258
tree6795833f662f4afdbf0f293ec862d1d169d62313
parent8751bd771d8ade9c15519e5ee869a57a3bd67e41
wireguard: fix portability issue

Check if the compiler defines __linux__, instead of assuming that the
host OS is the same as the target OS.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/wireguard/patches/100-portability.patch [new file with mode: 0644]