Edit

kc3-lang/libbsd/src/libbsd-overlay.pc.in

Branch :

  • Browse

    Commit

  • Author : Guillem Jover
    Date : 2024-02-28 04:44:02
    Hash : b6ccd032
    Message : build: Add a comment to libbsd-overlay.pc about -isystem usage Add the reasoning for why we use -isystem instead of -I, to avoid confusing unsuspecting readers of the file. Prompted-by: Alejandro Colomar <alx@kernel.org>

  • src/libbsd-overlay.pc.in
  • prefix=@prefix@
    exec_prefix=@exec_prefix@
    libdir=@libdir@
    includedir=@includedir@
    
    Name: libbsd
    Description: Utility functions from BSD systems (overlay)
    Version: @VERSION@
    URL: https://libbsd.freedesktop.org/
    Libs: -L${libdir} -lbsd
    Libs.private: @LIBBSD_LIBS@ @MD5_LIBS@
    # We use -isystem instead of -I due the overlay via #include_next usage.
    Cflags: -isystem ${includedir}/bsd -DLIBBSD_OVERLAY