On 15 Jul 2009, at 12:55, Wolfgang Lux wrote:
Hello,
what are the correct linker flags in a GNUmakefile for linking an
application against an uninstalled framework? So far, the best I
could find are the following definitions from SystemPreferences.app:
ifeq ($(findstring mingw32, $(GNUSTEP_TARGET_OS)), mingw32)
ADDITIONAL_LIB_DIRS += -L../../PreferencePanes/$
(FRAMEWORK_NAME).framework/$(GNUSTEP_TARGET_LDIR)
else
ADDITIONAL_LIB_DIRS += -L../../PreferencePanes/$
(FRAMEWORK_NAME).framework/Versions/Current/$(GNUSTEP_TARGET_LDIR)
endif
Hi Wolfgang,
ADDITIONAL_LIB_DIRS += -L../../PreferencePanes/$
(FRAMEWORK_NAME).framework/$(GNUSTEP_TARGET_LDIR)
should always work in gnustep-make v2, without any conditionals, no
matter if versions are enabled or not. That is supported since
gnustep-make 1.98.1 (March 2007). :-)