Use functions in backend/backend_common.c

Build backend_common.c even when new_backend=false.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-01-01 11:01:47 +00:00
parent 4aeffa36b8
commit 3686bf7a33
4 changed files with 10 additions and 171 deletions

View File

@@ -1,7 +1,7 @@
# enable xrender
srcs += [ files('backend_common.c') ]
if get_option('new_backends')
srcs += [ files('xrender.c', 'backend.c', 'backend_common.c') ]
srcs += [ files('xrender.c', 'backend.c') ]
# enable opengl
if get_option('opengl')