summaryrefslogtreecommitdiff
blob: 81caa016fea137eb1e5a97aee5409aa449bfe42b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ur christine-0.4.0.orig/Makefile.am christine-0.4.0/Makefile.am
--- christine-0.4.0.orig/Makefile.am	2009-05-01 07:37:57.000000000 +0300
+++ christine-0.4.0/Makefile.am	2009-07-21 18:19:31.000000000 +0300
@@ -68,8 +68,8 @@
 	./christine --devel $*
 
 christine: Makefile $(srcdir)/christine.c
-	gcc -Wall -fPIC ${CFLAGS} -I${pythonincludedir}/ -c christine.c -o christine.o
-	gcc ${pythonlfs} christine.o -lnsl -ldl -lieee -lpthread -lutil -lm -lpython${pythonversion} ${pythonlibdir}/libpython${pythonversion}.a -o christine
+	$(CC) -Wall -fPIC ${CFLAGS} -I${pythonincludedir}/ -c christine.c -o christine.o
+	$(CC) ${LDFLAGS} ${pythonlfs} christine.o -lnsl -ldl -lieee -lpthread -lutil -lm -lpython${pythonversion} -o christine
 	python -c "import compileall,re; compileall.compile_dir('./', rx=re.compile('/[.]svn'),force=True, maxlevels=11)"
 
 ACLOCAL_AMFLAGS = -I m4