gentoo-overlay/x11-plugins/gkrellweather/files/gkrellweather-2.0.7-Respect-LDFLAGS.patch

25 lines
537 B
Diff

From 82c3a24ef34c5a5388ee9cc40126b3381fb8445a Mon Sep 17 00:00:00 2001
From: Jim Ramsay <lack@gentoo.org>
Date: Wed, 11 Aug 2010 09:03:13 -0400
Subject: [PATCH] Respect LDFLAGS
---
Makefile | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index d6dc404..46074ab 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ LIBS = `pkg-config gtk+-2.0 --libs`
LFLAGS = -shared
PREFIX = /usr/local
+LFLAGS += $(LDFLAGS)
+
LOCALEDIR := $(PREFIX)/share/locale
ifeq ($(enable_nls),1)
--
1.7.2