guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 08/10] gnu: readline: support mingw.


From: Jan Nieuwenhuizen
Subject: Re: [PATCH 08/10] gnu: readline: support mingw.
Date: Mon, 02 May 2016 20:52:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Andy Wingo writes:

>>        (arguments `(#:configure-flags
>>                     (list (string-append "LDFLAGS=-Wl,-rpath -Wl,"
>>                                          (assoc-ref %build-inputs "ncurses")
>> -                                        "/lib")
>> +                                        ,(if (mingw-target?) "/bin" "/lib"))
>
> Is there a reason for MinGW ncurses to put its library in /bin on a
> MinGW system?  Better if it put it in /lib like everything else...

Yes...ncurses does not create any .la-files; only .dll-files.  Sadly
those must go in bin.  Maybe we could add a workaround in ncurses,
adding symlinks of those dlls in lib...

This bothered me too and the real solution here is to (cross) build
ncurses using libtool.

The good news is that ncurses can optionally be built with libtool.  The
bad news is that because the ncurses build system takes an installed
version of libtool instead of generating one during configuring as
usual, cross building ncurses with libtool needs an installed pre-build
cross version of libtool.  WDYT?

Greetings,
Jan

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  



reply via email to

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