diff --git a/src/Makefile b/src/Makefile index 664b8241ba7ceb6d59de5dc39452233a769c318a..6b40fc1dfec3ef47b957f49c0b90372c172125d9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,10 +8,10 @@ all: trayicon.so gtkspell.so # Build the shared objects trayicon.so: trayicon.o eggtrayicon.o trayiconmodule.o - $(CC) $(LDFLAGS) -shared $^ -o $@ + $(CC) -shared $^ -o $@ $(LDFLAGS) gtkspell.so: - $(CC) $(OPTFLAGS) $(CFLAGS) $(LDFLAGS) `pkg-config --libs --cflags gtkspell-2.0` -shared gtkspellmodule.c $^ -o $@ + $(CC) $(OPTFLAGS) $(CFLAGS) `pkg-config --cflags gtkspell-2.0` -shared gtkspellmodule.c $^ -o $@ $(LDFLAGS) `pkg-config --libs gtkspell-2.0` # The path to the GTK+ python types DEFS=`pkg-config --variable=defsdir pygtk-2.0`