|
@@ -10,4 +10,10 @@ FBTERM_LICENSE = GPLv2+
|
|
|
FBTERM_LICENSE_FILES = COPYING
|
|
|
FBTERM_DEPENDENCIES = fontconfig liberation
|
|
|
|
|
|
+ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
|
|
|
+# fontconfig uses pthreads if available, but fbterm forgets to link
|
|
|
+# with it breaking static builds
|
|
|
+FBTERM_CONF_ENV += LIBS='-lpthread'
|
|
|
+endif
|
|
|
+
|
|
|
$(eval $(autotools-package))
|