]> granicus.if.org Git - libass/commitdiff
x86: fix out-of-root builds after 8bddaa2a7
authorRicardo Constantino <wiiaboo@gmail.com>
Tue, 12 Sep 2017 09:04:45 +0000 (10:04 +0100)
committerRodger Combs <rodger.combs@gmail.com>
Sat, 16 Sep 2017 21:54:53 +0000 (16:54 -0500)
nasm always uses %include paths starting from the directory from where
it's started.

libass/Makefile.am

index bc8481f91cb944dbd979c2f7cf6dfd29667285f0..12991dc1f6c12b4c6b41a41b623ad48869dc0b09 100644 (file)
@@ -11,7 +11,7 @@ nasm_verbose_ = $(nasm_verbose_$(AM_DEFAULT_VERBOSITY))
 nasm_verbose_0 = @echo "  NASM    " $@;
 
 .asm.lo:
-       $(nasm_verbose)$(LIBTOOL) $(AM_V_lt) --tag=CC --mode=compile $(AS) $(ASFLAGS) -o $@ $< -prefer-non-pic
+       $(nasm_verbose)$(LIBTOOL) $(AM_V_lt) --tag=CC --mode=compile $(AS) $(ASFLAGS) -I$(srcdir)/ -o $@ $< -prefer-non-pic
 
 SRC_INTEL = x86/rasterizer.asm x86/blend_bitmaps.asm x86/blur.asm x86/cpuid.asm \
             x86/cpuid.h