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?
Hi,
libobjc2 has the
-Iand-Lflags 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
CPPFLAGSand adjusting--with-objc-lib-flagin gnustep-make but should gnustep-config make sure of that itself?