Skip to content

Remembering the libojc2 pkg-config flags #74

Description

@Dariqq

Hi,

libobjc2 has the -I and -L flags in the pkg-config file to make the CPP/linker be able to find libobj headers/library.

gnustep-make checks for these but appearently does not save them in the gnustep-config so if these are needed to link to libobjc2 correctly things will go wrong.

I had lots of issues with clang prioritizing the objc/obj.h and libobjc from gcc over libobjc leading to linker errors and weird issues when libobjc is installed in a different prefix than the rest of gnustep / the rest of the system.

My current workaround is to do this manually with CPPFLAGS and adjusting --with-objc-lib-flag in gnustep-make but should gnustep-config make sure of that itself?

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