builtin_compiler/build: Avoid using libtool if cross compiling 47/7547/1
authorJonathan Liu <net147@gmail.com>
Tue, 4 Jun 2013 13:03:55 +0000 (23:03 +1000)
committerMatt Turner <mattst88@gmail.com>
Thu, 18 Jul 2013 20:54:20 +0000 (13:54 -0700)
commit2da0bd05268f7fc3b602d4bf380ad7b414726933
tree1eec21ca2ee0b39dfab3d383f51b227fd447f88d
parent2b5b436615f66adf0f49391c5b0dfd1c0c6e0ad4
builtin_compiler/build: Avoid using libtool if cross compiling

Adds the dependencies of builtin_compiler as sources when cross
compiling instead of using libtool to share compilation with src/glsl.
The builtin_compiler executable is built for the host when cross
compiling so it doesn't make sense to share compilation with src/glsl
built for the target in this case.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44618
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Jonathan Liu <net147@gmail.com>
src/glsl/builtin_compiler/Makefile.am