diff --git a/tools/emulator/opengl/host/tools/emugen/Android.mk b/tools/emulator/opengl/host/tools/emugen/Android.mk index 51330ec10..ad9ab06f8 100644 --- a/tools/emulator/opengl/host/tools/emugen/Android.mk +++ b/tools/emulator/opengl/host/tools/emugen/Android.mk @@ -17,4 +17,10 @@ $(call emugl-end-module) # protocol encoders/ decoders. This variable is used by other emugl modules. EMUGL_EMUGEN := $(LOCAL_BUILT_MODULE) +else # windows build + +# on windows use the build host emugen executable +# (that will be the linux exeutable when using mingw build) +EMUGL_EMUGEN := $(BUILD_OUT_EXECUTABLES)/emugen + endif