I'm fairly certain this has been dicussed/documented somewhere, but
after a few hours of searching, I am still at a loss.
I am writing an application that depends on a framework.
In the application's GNUmakefile I have:
APP_NAME = myApp
PACKAGE_NAME = ${APP_NAME}
SUBPROJECTS = myFramework
...
ADDITIONAL_INCLUDE_DIRS += -framework myFramework
myApp_GUI_LIBS += -framework myFramework
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/application.make
The framework compiles just fine and sits in
myFramework/myFramework.framework
But when it tries to link myApp, the linker gives the following error
and dies:
/usr/bin/ld: cannot open myFramework: File format not recognized
Presumably this is because the -framework flag is not causing the same
behaviour it does on OS X.
So how should I modify the makefile in order to actually have it link
in the framework?