summaryrefslogtreecommitdiff
path: root/tools/g-ir-scanner.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/g-ir-scanner.in')
-rwxr-xr-xtools/g-ir-scanner.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/g-ir-scanner.in b/tools/g-ir-scanner.in
index ba2999c5..6f2b83e5 100755
--- a/tools/g-ir-scanner.in
+++ b/tools/g-ir-scanner.in
@@ -21,6 +21,9 @@
import os
import sys
+import __builtin__
+
+__builtin__.__dict__['DATADIR'] = "@pkgdatadir@"
if 'GI_SCANNER_DEBUG' in os.environ:
def on_exception(exctype, value, tb):