$OpenBSD: patch-setup_py,v 1.2 2021/02/24 14:10:48 rsadowski Exp $

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