It's not the right thing to do because this is not an issue that's
specific to x86_64; it affects cmake on *all* architectures for which
Ubuntu builds, so the correct path needs to be picked up at cmake build
time based on the dpkg environment ($DEB_HOST_MULTIARCH).

Also, /usr/lib64/x86_64-linux-gnu shouldn't be in this list.  You only
want /lib/$triplet and /usr/lib/$triplet for multiarch.

And for consistent semantics, this should prepend to the system path
rather than append, if that's an option.  The multiarch directories are
first on the linker path.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/737137

Title:
  find_library fails to locate multiarch libraries

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to