mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
26 lines
793 B
Diff
26 lines
793 B
Diff
taken from http://sourceforge.net/p/xzgv/code/53/tree//trunk/xzgv/src/Makefile?diff=514dada434309d2ec11f5eff:52
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -9,8 +9,10 @@
|
|
# This gets definitions for CC, CFLAGS, BINDIR etc.
|
|
include ../config.mk
|
|
|
|
-CFLAGS+=`pkg-config --cflags gtk+-2.0` `pkg-config --cflags gdk-pixbuf-2.0`
|
|
-LDFLAGS+=`pkg-config --libs gtk+-2.0` `pkg-config --libs gdk-pixbuf-2.0`
|
|
+CFLAGS+=`pkg-config --cflags gtk+-2.0` `pkg-config --cflags gdk-pixbuf-2.0` \
|
|
+ `pkg-config --cflags x11`
|
|
+LDFLAGS+=`pkg-config --libs gtk+-2.0` `pkg-config --libs gdk-pixbuf-2.0` \
|
|
+ `pkg-config --libs x11` -lm
|
|
|
|
all: xzgv
|
|
|
|
@@ -23,7 +25,7 @@
|
|
backend.o
|
|
|
|
xzgv: $(OBJS)
|
|
- $(CC) $(LDFLAGS) -o xzgv $(OBJS)
|
|
+ $(CC) -o xzgv $(OBJS) $(LDFLAGS)
|
|
|
|
installdirs:
|
|
/bin/sh ../mkinstalldirs $(BINDIR)
|