mirror of
https://github.com/libretro/RetroArch
synced 2025-01-15 23:02:24 +00:00
Fix Rasperry Pi build.
This commit is contained in:
parent
b5401d7b6a
commit
528bb2687d
5
Makefile
5
Makefile
@ -216,7 +216,6 @@ ifeq ($(HAVE_OPENGL), 1)
|
||||
|
||||
ifeq ($(HAVE_VIDEOCORE), 1)
|
||||
OBJ += gfx/context/vc_egl_ctx.o
|
||||
# videocore's libs set later
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_X11), 1)
|
||||
@ -257,10 +256,6 @@ ifeq ($(HAVE_VG), 1)
|
||||
LIBS += $(VG_LIBS)
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_VIDEOCORE), 1)
|
||||
LIBS += -lbcm_host -lvcos -lvchiq_arm -lEGL
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_XVIDEO), 1)
|
||||
OBJ += gfx/xvideo.o
|
||||
LIBS += $(XVIDEO_LIBS)
|
||||
|
@ -30,7 +30,7 @@ if [ "$HAVE_VIDEOCORE" = 'yes' ]; then
|
||||
[ -d /opt/vc/include/interface/vcos/pthreads ] && add_include_dirs /opt/vc/include/interface/vcos/pthreads
|
||||
[ -d /opt/vc/include/interface/vmcs_host/linux ] && add_include_dirs /opt/vc/include/interface/vmcs_host/linux
|
||||
HAVE_GLES='auto'
|
||||
EXTRA_GL_LIBS="-lGLESv2 -lbcm_host -lvcos -lvchiq_arm"
|
||||
EXTRA_GL_LIBS="-lEGL -lGLESv2 -lbcm_host -lvcos -lvchiq_arm"
|
||||
fi
|
||||
|
||||
if [ "$HAVE_NEON" = "yes" ]; then
|
||||
|
@ -40,6 +40,8 @@ check_lib() #$1 = HAVE_$1 $2 = lib $3 = function in lib $4 = extralibs
|
||||
echo "Forced to build with library $2, but cannot locate. Exiting ..."
|
||||
exit 1
|
||||
}
|
||||
|
||||
/bin/true
|
||||
}
|
||||
|
||||
check_lib_cxx() #$1 = HAVE_$1 $2 = lib $3 = function in lib $4 = extralibs $5 = critical error message [checked only if non-empty]
|
||||
@ -66,6 +68,8 @@ check_lib_cxx() #$1 = HAVE_$1 $2 = lib $3 = function in lib $4 = extralibs $5 =
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/bin/true
|
||||
}
|
||||
|
||||
check_code_c()
|
||||
|
Loading…
Reference in New Issue
Block a user