Patchwork [v3,02/11] sunxi-mali: add explicit pthread/dl/rt dependencies

login
register
mail settings
Submitter Spenser Gilliland
Date Sept. 26, 2013, 11:21 p.m.
Message ID <1380237714-2470-3-git-send-email-spenser@gillilanding.com>
Download mbox | patch
Permalink /patch/278295/
State New
Headers show

Comments

Spenser Gilliland - Sept. 26, 2013, 11:21 p.m.
fixes hard float with Linaro toolchain.

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 package/sunxi-mali/egl.pc    |    2 +-
 package/sunxi-mali/glesv2.pc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/package/sunxi-mali/egl.pc b/package/sunxi-mali/egl.pc
index 56e3990..b0375dc 100644
--- a/package/sunxi-mali/egl.pc
+++ b/package/sunxi-mali/egl.pc
@@ -7,6 +7,6 @@  Name: egl
 Description: ARM Mali implementation of EGL
 Version: 1.4
 Requires:
-Libs: -L${libdir} -lEGL -lGLESv2 -lUMP
+Libs: -L${libdir} -lEGL -lGLESv2 -lUMP -lrt -lpthread
 Cflags: -I{includedir}/EGL/ -I${includedir}
 
diff --git a/package/sunxi-mali/glesv2.pc b/package/sunxi-mali/glesv2.pc
index 9273678..b34bf72 100644
--- a/package/sunxi-mali/glesv2.pc
+++ b/package/sunxi-mali/glesv2.pc
@@ -7,6 +7,6 @@  Name: glesv2
 Description: ARM Mali implementation of OpenGL ESv2
 Version: 2.0
 Requires:
-Libs: -L${libdir} -lGLESv2 -lGLESv1_CM -lUMP
+Libs: -L${libdir} -lGLESv2 -lGLESv1_CM -lUMP -ldl -lrt -lpthread
 Cflags: -I${includedir}/GLES2