Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1035

It is impossible to have clean rpath without explicit use of linkerFlags

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 2.2.0
    • 1.6.0
    • General
    • None
    • Linux
    • 4c3b9ef8e (master)

    Description

      I want to build a binary which have exactly one rpath $ORIGIN/../lib.
      For that I should write

      cpp.rpaths: ["$ORIGIN/../lib"]
      

      However QBS forces two another entries which could not be disabled:
      $ORIGIN from share/qbs/modules/cpp/LinuxGCC.qbs and Qt libPath from core.qbs of QtCore module.
      To work around this I have to disable cpp.useRPaths and fall back to cpp.linkerFlags.

      I think QBS should not implicitly fill this property.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            kds Denis Klychkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes