octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readline problem with gui branch ?


From: marco atzeri
Subject: Re: readline problem with gui branch ?
Date: Sat, 09 Jun 2012 22:43:25 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0

On 6/9/2012 10:27 PM, Ben Abbott wrote:

On Jun 9, 2012, at 2:40 PM, Ben Abbott wrote:


Adding "-lreadline" to the LIBS variable in src/Makefile fixed the problem for 
me.

Ben


A more proper fix ?

diff --git a/gui/src/src.pro b/gui/src/src.pro
--- a/gui/src/src.pro
+++ b/gui/src/src.pro
@@ -30,7 +30,7 @@

  win32-msvc*: include(msvc.pri)

-LIBS                += -lqscintilla2  \
+LIBS                += -lreadline -lqscintilla2  \
                         -L../qterminal/libqterminal/$$LIBDIR_SUFFIX 
-lqterminal \
                          $$system(mkoctfile -p LIBS) \
                          $$system(mkoctfile -p OCTAVE_LIBS)


Ben



needed also for cygwin

Regards
Marco



reply via email to

[Prev in Thread] Current Thread [Next in Thread]