]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/Makefile.linux
pppd: Fix variable reference syntax in Makefile.linux
[ppp.git] / pppd / Makefile.linux
index 12a986e4cfedbee7b89f8a18e8ee505292b65d0e..9664f70989965a6e768434b529e04d5cd244fc7d 100644 (file)
@@ -125,7 +125,7 @@ CFLAGS   += -DHAS_SHADOW
 #LIBS     += -lshadow $(LIBS)
 endif
 
-ifneq ($(wildcard $(shell $CC --print-sysroot)/usr/include/crypt.h),)
+ifneq ($(wildcard $(shell $(CC) --print-sysroot)/usr/include/crypt.h),)
 CFLAGS  += -DHAVE_CRYPT_H=1
 LIBS   += -lcrypt
 endif
@@ -137,7 +137,7 @@ endif
 
 ifdef NEEDDES
 ifndef USE_CRYPT
-CFLAGS   += -I$(shell $CC --print-sysroot)/usr/include/openssl
+CFLAGS   += -I$(shell $(CC) --print-sysroot)/usr/include/openssl
 LIBS     += -lcrypto
 else
 CFLAGS   += -DUSE_CRYPT=1