* uclibc has no proper TLS support so disable it
* no bump of PR because its not changing the
behavior on glibc and for uclibc it has been not
buildable
EXTRA_OECONF = "--enable-glu \
--disable-glw \
--disable-glut \
- --enable-glx-tls"
+ "
+
+require mesa-tls.inc
+EXTRA_OECONF += "${@get_tls_setting(bb, d)} "
PACKAGES =+ "libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
FILES_libgl = "${libdir}/libGL.so.*"
--- /dev/null
+
+def get_tls_setting(bb, d):
+ # until we have no prober TLS support in uclibc disable it
+ if bb.data.getVar('TARGET_OS', d, 1).find('uclibc') >= 0 :
+ return ""
+ return "--enable-glx-tls"