Uploaded image for project: 'Swift'
  1. Swift
  2. SR-13891

SwiftPM support for multiple pkgConfig paths officially

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: Package Manager
    • Labels:
      None
    • Environment:

      EndeavourOS latest.

      Description

      Actually, pkgConfig path are a single string, for one file. Some people uses spaces as delimiter for multiple files. But it causes some issues on some OSes (like Arch Linux), because it does not split correctly names.

      The main example is SwiftGtk that is unbuildable on arch linux because of GLib's pkg-config files (glib-2.0 and gio-unix-2.0) are recognized diffently on Ubuntu by example ("glib-2.0.pc" and "gio-unix-2.0.pc") and Arch-derrivatives ('glib-2.0 gio-unix-2.0.pc').

      Possible fix: use pkgConfig: [String] with an array to let developer properly split its pkg-config files.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            Dadoum Dadoum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: