Skip to content

Linker options in dyaml.pc not correct? #137

@russel

Description

@russel

The libgtkd-3-dev package on Debian Sid installs /usr/lib/x86_64-linux-gnu/pkgconfig/gtkd-3.pc:

Name: GtkD
Description: A D binding and OO wrapper for GTK+.
Version: 3.8.2
Libs: -L-L/usr/lib/x86_64-linux-gnu/ -L-lgtkd-3 -L-ldl
Cflags: -I/usr/include/d/gtkd-3/

which works for dmd and ldc2, I suspect perhaps not for gdc. D-YAML creates:

prefix=/home/users/russel/Built
libdir=${prefix}/lib
includedir=${prefix}/include

Name: dyaml
Description: YAML parser and emitter for the D programming language.
Version: 0.6.5
Requires.private: tinyendian
Libs: -L${libdir} -ldyaml
Cflags: -I${includedir}/d/yaml

Which doesn't work fordmd or ldc2 without adding a -L in front of the Libs options. So who has it right GtkD or D-YAML?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions