summaryrefslogtreecommitdiff
path: root/2d
diff options
context:
space:
mode:
Diffstat (limited to '2d')
-rw-r--r--2d/config.scm.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/2d/config.scm.in b/2d/config.scm.in
index 725bcda..e62a2b1 100644
--- a/2d/config.scm.in
+++ b/2d/config.scm.in
@@ -24,4 +24,5 @@
(define-module (2d config)
#:export (%pkgdatadir))
-(define %pkgdatadir "@pkgdatadir@")
+(define %pkgdatadir
+ (or (getenv "GUILE_2D_PKGDATADIR") "@pkgdatadir@"))