diff options
-rw-r--r-- | contrib/x264/module.defs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/x264/module.defs b/contrib/x264/module.defs index 220e756e8..b8a5d2d5a 100644 --- a/contrib/x264/module.defs +++ b/contrib/x264/module.defs @@ -12,7 +12,8 @@ X264.CONFIGURE.shared = X264.CONFIGURE.extra += --disable-lavf --disable-ffms --disable-avs --disable-swscale --disable-gpac --disable-lsmash --disable-cli -ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system)) +ifeq (1,$(BUILD.cross)) + X264.CONFIGURE.build = X264.CONFIGURE.extra += --cross-prefix=$(BUILD.spec)- X264.CONFIGURE.env.CFLAGS = CFLAGS="-I$(call fn.ABSOLUTE,$(CONTRIB.build/)include) $(call fn.ARGS,X264.GCC,*archs *sysroot *minver ?extra)" X264.CONFIGURE.env.LDFLAGS = LDFLAGS="-L$(call fn.ABSOLUTE,$(CONTRIB.build/)lib) $(call fn.ARGS,X264.GCC,*archs *sysroot *minver)" |