ref: 669c593fe8a9b4baa76e70d834a4187ae45f9499
parent: c8b1153aeecbda4e0d33354df259a9520c107728
author: Jacob Moody <[email protected]>
date: Tue Jun 27 10:25:28 EDT 2023
Make.linux: dont hardcode libpipewire location Also spa seems to be no longer needed with newer pipewire. This was found in attempting to build this configuration on nixos.
--- a/Make.linux
+++ b/Make.linux
@@ -4,7 +4,7 @@
AS=as
RANLIB=ranlib
CC?=cc
-CFLAGS=-Wall -Wno-missing-braces -Wno-parentheses -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE -DPTHREAD $(PTHREAD) -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -D_REENTRANT -O2
+CFLAGS=-Wall -Wno-missing-braces -Wno-parentheses -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -D_THREAD_SAFE -DPTHREAD $(PTHREAD) `pkg-config --cflags libpipewire-0.3` -D_REENTRANT -O2
O=o
OS=posix
GUI=wl