This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 351 - Fixed path in pkg-config control file eigen2.pc breaks cross-compiling
Summary: Fixed path in pkg-config control file eigen2.pc breaks cross-compiling
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All Linux
: --- minor
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-22 08:19 UTC by Steve Wolter
Modified: 2019-12-04 11:08 UTC (History)
2 users (show)



Attachments
Patch for eigen2-2.0.16 that fixes the issue. (430 bytes, application/octet-stream)
2011-09-22 08:19 UTC, Steve Wolter
no flags Details

Description Steve Wolter 2011-09-22 08:19:42 UTC
Created attachment 211 [details]
Patch for eigen2-2.0.16 that fixes the issue.

The pkg-config file of Eigen2 declares a fixed include path like

Cflags: -I/usr/include/eigen2

while standard practice is to declare it with variables, like:

prefix=/usr
includedir=${prefix}/include
Cflags: -I${includedir}/eigen2

Cross-compiling tools like dpkg-cross rely on the standard layout to re-base compiler and linker paths from /usr to /usr/${triplet} and can't perform their job if the path is fixed.

I've attached a patch to fix this issue.
Comment 1 Nobody 2019-12-04 11:08:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/351.

Note You need to log in before you can comment on or make changes to this bug.