Lines 1-6
Link Here
|
1 |
--- setup.py Mon Oct 17 23:22:45 2005 |
1 |
--- setup.py Sun Apr 30 10:23:44 2006 |
2 |
+++ setup.py Mon Oct 17 23:22:19 2005 |
2 |
+++ setup.py Wed May 10 09:25:22 2006 |
3 |
@@ -24,10 +24,10 @@ |
3 |
@@ -1,13 +1,13 @@ |
|
|
4 |
import os |
5 |
from distutils.core import setup, Extension |
6 |
|
7 |
-LIBDIRS = ["/usr/lib", "/usr/local/lib"] |
8 |
+LIBDIRS = ["/usr/lib", "/usr/local/lib", "%%PREFIX%%/lib"] |
9 |
LIBS = ["openal", "alut"] |
10 |
|
11 |
try: |
12 |
openal_version = os.popen("openal-config --version").read() |
13 |
if openal_version[0] == "0": |
14 |
- LIBDIRS = ["/usr/lib", "/usr/local/lib"] |
15 |
+ LIBDIRS = ["/usr/lib", "/usr/local/lib", "%%PREFIX%%/lib"] |
16 |
LIBS = ["openal"] |
17 |
|
18 |
except: |
19 |
@@ -38,7 +38,7 @@ |
4 |
|
20 |
|
5 |
ext_modules = [Extension("_openal", |
21 |
ext_modules = [Extension("_openal", |
6 |
["py_openal.c"], |
22 |
["py_openal.c"], |
Lines 8-15
Link Here
|
8 |
+ ["/usr/include", "/usr/local/include", "%%PREFIX%%/include"], |
24 |
+ ["/usr/include", "/usr/local/include", "%%PREFIX%%/include"], |
9 |
[("HAVE_CONFIG_H", None)], |
25 |
[("HAVE_CONFIG_H", None)], |
10 |
None, |
26 |
None, |
11 |
- ["/usr/lib", "/usr/local/lib"], |
27 |
LIBDIRS, |
12 |
+ ["/usr/lib", "/usr/local/lib", "%%PREFIX%%/lib"], |
|
|
13 |
["openal"], |
14 |
) |
15 |
] |