2015-04-20 11:57:52 +02:00
|
|
|
Use gcc as the default C compiler if CC is not set.
|
|
|
|
|
2018-12-03 16:21:35 +01:00
|
|
|
diff -ru gobject-introspection-1.58.1.orig/giscanner/__init__.py gobject-introspection-1.58.1/giscanner/__init__.py
|
|
|
|
--- gobject-introspection-1.58.1.orig/giscanner/__init__.py 1970-01-01 01:00:00.000000000 +0100
|
|
|
|
+++ gobject-introspection-1.58.1/giscanner/__init__.py 2018-12-03 13:33:28.788971299 +0100
|
|
|
|
@@ -22,6 +22,8 @@
|
2015-04-20 11:57:52 +02:00
|
|
|
builddir = os.environ.get('UNINSTALLED_INTROSPECTION_BUILDDIR')
|
|
|
|
if builddir is not None:
|
|
|
|
__path__.append(os.path.join(builddir, 'giscanner'))
|
|
|
|
+if not 'CC' in os.environ:
|
|
|
|
+ os.environ['CC'] = 'gcc'
|
2018-12-03 16:21:35 +01:00
|
|
|
try:
|
|
|
|
from ._version import __version__
|
|
|
|
except ImportError:
|