aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/ns/lv2core/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/ns/lv2core/wscript')
-rw-r--r--lv2/ns/lv2core/wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/lv2/ns/lv2core/wscript b/lv2/ns/lv2core/wscript
index a3533fd..f84e29a 100644
--- a/lv2/ns/lv2core/wscript
+++ b/lv2/ns/lv2core/wscript
@@ -27,6 +27,10 @@ def options(opt):
help='Copy headers instead of linking to bundle')
def configure(conf):
+ if not hasattr(os.path, 'relpath') and not Options.options.copy_headers:
+ conf.fatal(
+ 'os.path.relpath missing, get Python 2.6 or use --copy-headers')
+
conf.load('compiler_c')
autowaf.configure(conf)
='n122' href='#n122'>122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168