From 139912e0cf5d9714e5e1fe4576d01251491701f5 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Mon, 1 Nov 2010 08:36:17 -0400 Subject: [PATCH 1/3] Respect LDFLAGS Instead of using a non-standard varible name like LFLAGS, using LDFLAGS lets this play nice with Gentoo's build system. --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ INSTALL=install -c -m 755 CFLAGS += -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) LIBS = $(GTK_LIB) $(IMLIB_LIB) -LFLAGS += -shared +LDFLAGS += -shared LOCALEDIR := $(DESTDIR)/usr/share/locale PACKAGE ?= gkrellm-mailwatch @@ -30,7 +30,7 @@ all: mailwatch.so mailwatch.so: $(OBJS) (cd po && ${MAKE}) - $(CC) $(CFLAGS) $(OBJS) -o mailwatch.so $(LFLAGS) $(LIBS) + $(CC) $(CFLAGS) $(OBJS) -o mailwatch.so $(LDFLAGS) $(LIBS) clean: (cd po && ${MAKE} clean ) -- 1.7.3.1