misc/gkrellm-helium: Fix for new linkers (-Wl must have an argument)

This commit is contained in:
John Marino 2014-02-05 20:22:45 +00:00
parent b7a82ca5af
commit 9e00d457e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342840

View file

@ -0,0 +1,11 @@
--- Makefile.orig 2013-09-18 16:01:03.680740000 +0000
+++ Makefile
@@ -10,7 +10,7 @@ helium.o: helium.c
gcc $(CFLAGS) -fPIC -Wall `pkg-config gtk+-2.0 --cflags` -DVERSION=\"$(VERSION)\" -c helium.c
helium.so: helium.o udp_net.o http_net.o
- gcc $(CFLAGS) -shared -Wl -lcurl `pkg-config gtk+-2.0 --libs` -o helium.so helium.o udp_net.o http_net.o
+ gcc $(CFLAGS) -shared -lcurl `pkg-config gtk+-2.0 --libs` -o helium.so helium.o udp_net.o http_net.o
udp_net.o: udp_net.c
gcc $(CFLAGS) -c udp_net.c