From 398520517f4ba0d0c52b3e826f07d65ca879a6b1 Mon Sep 17 00:00:00 2001 From: 2bndy5 <2bndy5@gmail.com> Date: Sat, 22 Jan 2022 17:51:21 -0800 Subject: [PATCH] attempt 3 to modify the Makefile --- examples_RPi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples_RPi/Makefile b/examples_RPi/Makefile index 4800c519..0f6895fc 100644 --- a/examples_RPi/Makefile +++ b/examples_RPi/Makefile @@ -26,7 +26,7 @@ RPI=$(shell cat /proc/cpuinfo | grep Hardware | grep -c BCM2709) endif pigpio_detected=0 -ifeq $(wildcard "/usr/lib/libpigpio.so") +ifneq ("$(wildcard "/usr/lib/libpigpio.so")", "") pigpio_detected=1 endif