Opened 3 years ago

Closed 23 months ago

#10273 closed bug (fixed)

haskeline : Cross-compile from Linux to Windows fails due to <Shlobj.h>

Reported by: erikd Owned by:
Priority: normal Milestone: 8.0.1
Component: libraries (other) Version: 7.11
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: #10070 Differential Rev(s):
Wiki Page:

Description

The #include of <Shlobj.h> doesn't work when cross-compiling from Linux to Windows because the Linux file system is case sensitive and on Linux the file is <shlobj.h>.

Down casing the name of this include file should not cause problems on Windows as the Windows file system is case insensitive.

Attachments (1)

0001-Fix-Linux-to-Windows-cross-compile.patch (990 bytes) - added by erikd 3 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 3 years ago by erikd

Status: newpatch

comment:2 Changed 3 years ago by erikd

Ran up a Windows 8.1 VM in virtual box, applied this patch and configured and built the Haskeline library without any problem.

I'll be commiting/pushing this patch later today.

comment:3 Changed 3 years ago by erikd

Resolution: fixed
Status: patchclosed

comment:4 Changed 2 years ago by thoughtpolice

Milestone: 7.12.18.0.1

Milestone renamed

comment:5 Changed 2 years ago by hvr

Owner: erikd deleted
Resolution: fixed
Status: closednew

I don't consider this one fixed yet, as this needs to be merged upstream

comment:6 Changed 2 years ago by erikd

comment:7 Changed 2 years ago by hvr

Status: newupstream

comment:8 Changed 2 years ago by erikd

The PR has been accepted upstream. Not sure if a new release has been rolled yet.

comment:9 Changed 23 months ago by bgamari

Resolution: fixed
Status: upstreamclosed

Closing since a release was released a few weeks ago.

Note: See TracTickets for help on using tickets.