Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > e70b4f87cb38bdd2e479443f42d56cda > files > 4

gkrellm-plugins-2.3.5-13.mga5.src.rpm

--- gkrellm-fmonitor-2.0.4/Makefile~	2013-02-14 20:49:13.168593205 +0800
+++ gkrellm-fmonitor-2.0.4/Makefile	2013-02-14 21:01:43.488685496 +0800
@@ -3,6 +3,7 @@
 
 CFLAGS = -O2 -Wall -fPIC
 CC = gcc
+LFLAGS = -shared
 
 SRCS = fmonitor.c
 OBJS = fmonitor.o
@@ -10,7 +11,7 @@
 
 
 $(SOBJ): $(OBJS)
-	$(CC) -shared `pkg-config gtk+-2.0 --libs` $(OBJS) -o $(SOBJ)
+	$(CC) -shared $(LFLAGS) $(OBJS) -o $(SOBJ) `pkg-config gtk+-2.0 --libs`
 
 install:
 	cp $(SOBJ) /usr/local/lib/gkrellm2/plugins