|
@@ -23,7 +23,6 @@ PKG_MAINTAINER:=Luiz Angelo Daros de Luca <luizluca@gmail.com>
|
23
|
23
|
PKG_LICENSE:=BSD-3-Clause
|
24
|
24
|
PKG_LICENSE_FILES:=LICENSE
|
25
|
25
|
|
26
|
|
-#PKG_FIXUP:=autoreconf
|
27
|
26
|
PKG_INSTALL:=1
|
28
|
27
|
|
29
|
28
|
include $(INCLUDE_DIR)/package.mk
|
|
@@ -55,9 +54,14 @@ ifneq ($(findstring -Os,$(TARGET_CFLAGS)),)
|
55
|
54
|
CONFIGURE_ARGS += --enable-small
|
56
|
55
|
endif
|
57
|
56
|
|
|
57
|
+# libvpx expects gcc as linker but uses $LD if provided
|
|
58
|
+# However, OpenWRT defines LD as *-uclibc-ld and not *-gcc
|
58
|
59
|
CONFIGURE_VARS += \
|
59
|
|
- CROSS=$(GNU_TARGET_NAME)\
|
60
|
|
- extralibs="-lc -lgcc_s"
|
|
60
|
+ CROSS=$(GNU_TARGET_NAME) \
|
|
61
|
+ LD="$(TARGET_CC)" \
|
|
62
|
+
|
|
63
|
+MAKE_FLAGS += \
|
|
64
|
+ LD="$(TARGET_CC)" \
|
61
|
65
|
|
62
|
66
|
define Build/InstallDev
|
63
|
67
|
$(INSTALL_DIR) $(1)/usr/include/vpx/
|