13 lines
524 B
Text
13 lines
524 B
Text
|
Index: setup.py
|
||
|
--- setup.py.orig
|
||
|
+++ setup.py
|
||
|
@@ -168,7 +168,7 @@ class build_test_extension(Command):
|
||
|
shared = "shared"
|
||
|
if sys.platform.startswith("darwin"):
|
||
|
shared = "bundle"
|
||
|
- res = os.system("gcc -fPIC -%s -o testextension.sqlext -Isqlite3 -I. src/testextension.c" % (shared, ))
|
||
|
+ res = os.system("cc -fPIC -%s -o testextension.sqlext -Isqlite3 -I. src/testextension.c" % (shared, ))
|
||
|
if res != 0:
|
||
|
raise RuntimeError("Building test extension failed")
|
||
|
|