Results 1 to 3 of 3

Thread: When to use pkgconfig(xxx) or xxx-devel

  1. #1
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    117

    Default When to use pkgconfig(xxx) or xxx-devel

    Hello,

    The required dependency for building package from OBS have this BuildRequires:

    For example, it can either be

    BuildRequires: gsl-devel

    or

    BuildRequires: pkgconfig(gsl)

    So when to use which one for which circumstance?

    Thanks.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,528
    Blog Entries
    15

    Default Re: When to use pkgconfig(xxx) or xxx-devel

    Quote Originally Posted by andythe_great View Post
    Hello,

    The required dependency for building package from OBS have this BuildRequires:

    For example, it can either be

    BuildRequires: gsl-devel

    or

    BuildRequires: pkgconfig(gsl)

    So when to use which one for which circumstance?

    Thanks.
    Hi
    If there is a pc file, then use pkgconfig() cmake() perl() etc
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Oct 2018
    Location
    Atlantis
    Posts
    117

    Default Re: When to use pkgconfig(xxx) or xxx-devel

    Quote Originally Posted by malcolmlewis View Post
    Hi
    If there is a pc file, then use pkgconfig() cmake() perl() etc
    Thanks, got it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •