[debhelper-devel] Bug#641051: debhelper: cmake and multiarch -- another possible patches

Tomasz Buchert tomasz at debian.org
Wed Aug 5 22:56:04 UTC 2015


Hi everybody,

what is the status of this? I'm trying to pass multiarch library path
in a clean way. I noticed that CMAKE_LIBRARY_ARCHITECTURE is set to
the arch triplet internally and so I can use it to patch upstream [1].

However, I also noticed that I *can't* set it to anything custom in
dh_auto_configure, as it is overwritten by cmake. I think it may pose
problems while cross-compiling, right? A possible solution would be to
push a patch upstream that respects CMAKE_LIBRARY_ARCHITECTURE
provided manually.

I think that for now I'll pass the triplet via my own custom variable
(just to be on the safe side).

Tomasz

[1] http://anonscm.debian.org/cgit/collab-maint/libdivsufsort.git/tree/debian/patches/0001-Allow-to-set-custom-LIBDIR-for-multi-arch.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20150806/39f1439e/attachment-0001.sig>


More information about the debhelper-devel mailing list