$OpenBSD: patch-setup_py,v 1.1 2017/08/10 17:27:34 sthen Exp $

Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -139,7 +139,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")
 
