mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
gnuplot: upgrade to 4.6.5
* automake patch from 4.4.4 is no longer needed * PACKAGECONFIG for lua (lua term is only useful for LaTeX) * linking problems with dlopen, etc. in lua loadlibs.c fixed ** this same problem was seen in jansa world builds for 4.4.4 ** I am not able to replicate that error on 4.4.4 NOTE: qt is supported by this version, but I was not able to figure out the configuration... Signed-off-by: Tim Orling <TicoTimo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
Index: gnuplot-4.6.5/configure.in
|
||||
===================================================================
|
||||
--- gnuplot-4.6.5.orig/configure.in
|
||||
+++ gnuplot-4.6.5/configure.in
|
||||
@@ -690,6 +690,11 @@ if test "${with_lua}" = yes ; then
|
||||
fi
|
||||
|
||||
if test "$with_lua" != no; then
|
||||
+ dnl check for dlopen/dl to fix loadlibs link failure
|
||||
+ AC_CHECK_FUNC([dlopen], [],
|
||||
+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
|
||||
+ AC_SUBST(DLOPEN_LIBS)
|
||||
+ LUA_LIBS="$LUA_LIBS $DLOPEN_LIBS"
|
||||
TERMLIBS="$TERMLIBS $LUA_LIBS"
|
||||
CPPFLAGS="$CPPFLAGS $LUA_CFLAGS"
|
||||
else
|
||||
Reference in New Issue
Block a user