Bug 5379 - cairo.def is not copied in the build directory although required [w32 build]
Summary: cairo.def is not copied in the build directory although required [w32 build]
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.0.2
Hardware: x86 (IA32) Windows (All)
: medium minor
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-19 06:24 UTC by Simon Urbanek
Modified: 2008-01-15 12:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Simon Urbanek 2005-12-19 06:24:20 UTC
Win32 build requires cairo.def to be present in the build directory, but Makefile does not ensure that it 
is the case:

Making all in src
/bin/sh ../libtool --tag=CC --mode=link mingw32-gcc  -g -O2   -o libcairo.la -rpath /usr/local/lib -
version-info 4:3:2 -no-undefined -export-symbols cairo.def cairo.lo cairo-arc.lo ...
libtool: link: symbol file `cairo.def' does not exist

Fix:
Either copy cairo.def from the source directory or change the libtool invocation to use source path

Build dateials:
cross-compile for Win32 using mingw32
../cairo-1.0.2/configure --host=mingw32
Comment 1 Chris Wilson 2008-01-15 12:12:28 UTC
A long time ago, in commit 46dd21e795549481d9db8d90c399e683ef1205c7, Tor Lillqvist added the magic for autogenerating cairo.def. However, that was part of cairo-1.0.2, and the relatively minor changes Behdad has made since would not seem to explain why it currently works in master.

* checks out 1.0.2 into his cross-compilation env...

Hmm, seems that cairo.def was correctly remade. Oh well, I'll just accept that the bug is obsolete.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.