blob: 2bf8c45e90271c117f67c399e354bad3050e0a3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
https://bugs.gentoo.org/831305
Upstream git has merged autotoolsification PR so no need for this.
--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -155,7 +155,7 @@ endif
ifdef NEEDDES
ifndef USE_CRYPT
-CFLAGS += -I$(shell $(CC) --print-sysroot)/usr/include/openssl
+CFLAGS += -I$(INSTROOT)/usr/include/openssl
NEEDCRYPTOLIB = y
else
CFLAGS += -DUSE_CRYPT=1
|