Mark SDL-only builds in generated directory name

This commit is contained in:
Kp 2013-07-04 03:29:01 +00:00
parent cd72fd6b0e
commit 9a5ed90100

View file

@ -91,12 +91,12 @@ class DXXCommon(LazyObjectConstructor):
if crc < 0: if crc < 0:
crc = crc + 0x100000000 crc = crc + 0x100000000
fields.append('{:08x}'.format(crc)) fields.append('{:08x}'.format(crc))
fields.append(''.join(a[1] if getattr(self, a[0]) else '' fields.append(''.join(a[1] if getattr(self, a[0]) else (a[2] if len(a) > 2 else '')
for a in ( for a in (
('debug', 'dbg'), ('debug', 'dbg'),
('profiler', 'prf'), ('profiler', 'prf'),
('editor', 'ed'), ('editor', 'ed'),
('opengl', 'ogl'), ('opengl', 'ogl', 'sdl'),
('opengles', 'es'), ('opengles', 'es'),
('raspberrypi', 'rpi'), ('raspberrypi', 'rpi'),
))) )))