Fix key error in media/libvpx/moz.build
authorPeter Michael Green <plugwash@raspbian.org>
Sat, 1 Apr 2023 14:51:20 +0000 (14:51 +0000)
committerRaspbian forward porter <root@raspbian.org>
Fri, 28 Jul 2023 01:09:12 +0000 (02:09 +0100)
Gbp-Pq: Name fix-key-error-in-medialibvpxmoz.build.patch

media/libvpx/moz.build

index d8c82b392a7f6180d4e57a42d41b5874d020ab29..491689727a4ee38d84c90303613ac752028624f2 100644 (file)
@@ -37,7 +37,7 @@ elif CONFIG['CPU_ARCH'] == 'x86':
     else: # Android, Linux, BSDs, etc.
         ASFLAGS += [ '-I%s/media/libvpx/config/linux/ia32/' % TOPSRCDIR ]
         LOCAL_INCLUDES += [ '/media/libvpx/config/linux/ia32/' ]
-elif CONFIG['CPU_ARCH'] == 'arm':
+elif (CONFIG['CPU_ARCH'] == 'arm') and ('ARM_EXPORTS' in files):
     EXPORTS.vpx += files['ARM_EXPORTS']
     ASFLAGS += [
         '-I%s/media/libvpx/config/linux/arm/' % TOPSRCDIR,