Support installing on RPM multilib OSes by using ${LIB_SUFFIX}
Bug #1156975 reported by
Michel Lind
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Granite |
Fix Released
|
Medium
|
Corentin Noël |
Bug Description
On multilib distributions (RHEL/Fedora, Mandriva/Mageia, probably others) 64-bit libraries are installed in /usr/lib64 instead of /usr/lib. In Fedora, at least, our build system have a predefined macro for invoking cmake that automatically passes the proper flags to cmake, and the libdir issue is handled by setting LIB_SUFFIX.
To handle this case, references to lib in install targets should be changed to lib${LIB_SUFFIX} -- this will be a no-op if LIB_SUFFIX is not defined.
Attached are patches for trunk and for the 0.1 branch.
Related branches
lp:~elementary-pantheon/granite/fix-1156975
Rejected
for merging
into
lp:~elementary-pantheon/granite/granite
- xapantu (community): Disapprove
- Cody Garver (community): Needs Information
- Pim Vullers (community): Approve
- David Gomes (community): Needs Information
- Rico Tzschichholz: Pending requested
-
Diff: 33 lines (+3/-3)2 files modifiedlib/CMakeLists.txt (+2/-2)
lib/granite.pc.cmake (+1/-1)
Changed in granite: | |
milestone: | none → luna-beta2 |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Michel Alexandre Salim (hircus) |
Changed in granite: | |
milestone: | luna-beta2 → luna-beta3 |
Changed in granite: | |
milestone: | isis-beta1 → none |
Changed in granite: | |
milestone: | none → freya-0.3.1 |
To post a comment you must log in.
Hi Cody,
Thanks! I'm not that familiar with the Bzr workflow, next time I'll push the fix to a private branch as you just did.
Will Luna Beta2 be using granite trunk, instead of 0.x?