openjpeg contained a C file with a main() function, user reported it was overriding...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 26 Feb 2009 04:40:00 +0000 (04:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 26 Feb 2009 04:40:00 +0000 (04:40 +0000)
remove this file from building, other build systems should do this too.

extern/libopenjpeg/SConscript

index eb408c1e9c049985e5a11a97e9614147967dcbc8..d14b8329580a6aa021e5f5a7a1e8abda09d53d11 100644 (file)
@@ -5,6 +5,10 @@ import sys
 Import('env')
 
 sources = env.Glob('*.c')
+
+# This file contains a main() - can override blenders
+sources.remove('t1_generate_luts.c')
+
 incs = '.'
 flags = []
 defs = []