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

qbspkgconfig does only replace first dot in package mane

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • 1.23.1
    • Configuration Probes
    • None
    • 6fac39c0b5 (qbs/qbs/1.24) 6fac39c0b5 (qbs/qbs/master)

      Hello,

      the qbspkgconfig module provider tries to replace dots with dashes in pkg-config package names. But it only replaces the first dot.

      function getModuleName(packageName) { return packageName.replace('.', '-'); }
      

      should be

      function getModuleName(packageName) { return packageName.replace(/\./g, '-'); }
      

        For Gerrit Dashboard: QBS-1708
        # Subject Branch Project Status CR V

            arch Ivan Komissarov
            Psy-Kai Kai Dohmen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes