* [gentoo-commits] gentoo-x86 commit in gnustep-apps/cynthiune/files: cynthiune-0.9.5-as-needed.patch
@ 2008-12-09 17:12 Bernard Cafarelli (voyageur)
0 siblings, 0 replies; only message in thread
From: Bernard Cafarelli (voyageur) @ 2008-12-09 17:12 UTC (permalink / raw
To: gentoo-commits
voyageur 08/12/09 17:12:34
Added: cynthiune-0.9.5-as-needed.patch
Log:
Fix compilation with --as-needed, bug #250170
(Portage version: 2.2_rc17/cvs/Linux 2.6.26-gentoo x86_64)
Revision Changes Path
1.1 gnustep-apps/cynthiune/files/cynthiune-0.9.5-as-needed.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-apps/cynthiune/files/cynthiune-0.9.5-as-needed.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnustep-apps/cynthiune/files/cynthiune-0.9.5-as-needed.patch?rev=1.1&content-type=text/plain
Index: cynthiune-0.9.5-as-needed.patch
===================================================================
--- frameworks.make.orig 2008-12-09 18:05:15.000000000 +0100
+++ frameworks.make 2008-12-09 18:05:22.000000000 +0100
@@ -2,13 +2,16 @@
ADDITIONAL_INCLUDE_DIRS += $(foreach fdir,$(foreach fdir,$(FRAMEWORKS_DIRS),$(foreach framework,$(FRAMEWORKS),$(wildcard $(fdir)/$(framework).framework))),-I$(fdir)/Headers)
ifeq (yes, $(local-build))
- _ldflags = $(foreach framework,$(FRAMEWORKS),$(foreach efdir,$(foreach fdir,$(FRAMEWORKS_DIRS),$(wildcard $(fdir)/$(framework).framework)), -Wl,-rpath,$(if $(wildcard $(shell pwd)/$(efdir)),$(shell pwd)/$(efdir),$(efdir))/Versions/Current -L$(efdir)/Versions/Current) -l$(framework))
+ _ldflags = $(foreach framework,$(FRAMEWORKS),$(foreach efdir,$(foreach fdir,$(FRAMEWORKS_DIRS),$(wildcard $(fdir)/$(framework).framework)), -Wl,-rpath,$(if $(wildcard $(shell pwd)/$(efdir)),$(shell pwd)/$(efdir),$(efdir))/Versions/Current -L$(efdir)/Versions/Current))
+ _libs = $(foreach framework,$(FRAMEWORKS), -l$(framework))
else
- _ldflags = $(foreach framework,$(FRAMEWORKS),$(foreach efdir,$(foreach fdir,$(FRAMEWORKS_DIRS),$(wildcard $(fdir)/$(framework).framework)), -L$(efdir)/Versions/Current) -l$(framework))
+ _ldflags = $(foreach framework,$(FRAMEWORKS),$(foreach efdir,$(foreach fdir,$(FRAMEWORKS_DIRS),$(wildcard $(fdir)/$(framework).framework)), -L$(efdir)/Versions/Current))
+ _libs = $(foreach framework,$(FRAMEWORKS), -l$(framework))
endif
ifeq (mingw32, $(GNUSTEP_TARGET_OS))
-ADDITIONAL_GUI_LIBS += -L$(FRAMEWORKS_DIRS)/../../Cynthiune.app $(_ldflags)
+ADDITIONAL_GUI_LIBS += -L$(FRAMEWORKS_DIRS)/../../Cynthiune.app $(_ldflags) $(_libs)
else
ADDITIONAL_LDFLAGS += $(_ldflags)
+ADDITIONAL_GUI_LIBS += $(_libs)
endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-12-09 17:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 17:12 [gentoo-commits] gentoo-x86 commit in gnustep-apps/cynthiune/files: cynthiune-0.9.5-as-needed.patch Bernard Cafarelli (voyageur)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox