blob: a71902a362001274e4d8a5ddfd58b5ac0e7d9039 [file] [log] [blame]
Patrick Williams2a254922023-08-11 09:48:11 -05001From d94518b558c1812aecb87d8ef19d75c2df1b98a5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 26 Jul 2023 19:54:19 -0700
4Subject: [PATCH] Remove absolute paths into build machine system dirs
5
6This ensures that it does not add /usr/include and /usr/local/include/
7into cflags
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 setup.py | 2 --
13 1 file changed, 2 deletions(-)
14
15--- a/setup.py
16+++ b/setup.py
17@@ -111,11 +111,6 @@ def setup_extension():
18 # the standard portaudio cmake settings. For details, see:
19 # https://devblogs.microsoft.com/cppblog/vcpkg-updates-static-linking-is-now-available/
20 extra_compile_args += ["/MT"]
21- else:
22- # GNU/Linux and other posix-like OSes will dynamically link to
23- # portaudio, installed by the package manager.
24- include_dirs += ['/usr/local/include', '/usr/include']
25- external_libraries_path += ['/usr/local/lib', '/usr/lib']
26
27 return Extension(
28 'pyaudio._portaudio',