Add missing libs

The eglgears application depends on 'sqrt'. With the old tool chain,
this symbol was resolved through the dependencies of the 'gallium'
library. This does not work anymore for the new tool chain.

A similar issue arised for avplay, where we need to explicitly
state the av components in the LIBS declaration of the target.
This commit is contained in:
Norman Feske 2012-10-31 11:33:51 +01:00
parent 1fc7d4c573
commit 05e60691cb
3 changed files with 7 additions and 5 deletions

View File

@ -2,9 +2,11 @@ include $(REP_DIR)/lib/import/import-av.inc
TARGET = avplay TARGET = avplay
SRC_C = avplay.c cmdutils.c libc_dummies.c SRC_C = avplay.c cmdutils.c libc_dummies.c
LIBS += avfilter avformat swscale sdl libc libc_log libc_rom config_args LIBS += avfilter avformat avcodec avutil swscale
LIBS += sdl libc libm libc_log libc_rom config_args
CC_WARN += -Wno-parentheses -Wno-switch -Wno-uninitialized -Wno-format-zero-length -Wno-pointer-sign CC_WARN += -Wno-parentheses -Wno-switch -Wno-uninitialized \
-Wno-format-zero-length -Wno-pointer-sign
# config.h # config.h
INC_DIR += $(REP_DIR)/src/lib/libav INC_DIR += $(REP_DIR)/src/lib/libav

View File

@ -1,3 +1,3 @@
TARGET = eglgears TARGET = eglgears
SRC_C = eglgears.c SRC_C = eglgears.c
LIBS = libc libc_log gallium LIBS = libc libm libc_log gallium

View File

@ -31,7 +31,7 @@ HEADERS_FILTER_OUT = \
QT_MAIN_STACK_SIZE = 768*1024 QT_MAIN_STACK_SIZE = 768*1024
LIBS += libc_lwip libc_lwip_nic_dhcp qpluginwidget LIBS += libm libc_lwip libc_lwip_nic_dhcp qpluginwidget qnitpickerviewwidget
RESOURCES += demo_html.qrc RESOURCES += demo_html.qrc