diff finch/libgnt/Makefile.am @ 21800:73aab5bdd830

Allow loading python scripts at runtime. Things can go wrong if a script starts its own mainloop, or blocks on something. For now, a script can check for a positive return value from 'gobject.main_depth()' to determine that it's being loaded at runtime, and not start its own mainloop.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 09 Dec 2007 00:56:29 +0000
parents 1868e301b44d
children 35621ae24544 60f5abc6cf0c
line wrap: on
line diff
--- a/finch/libgnt/Makefile.am	Fri Dec 07 22:14:23 2007 +0000
+++ b/finch/libgnt/Makefile.am	Sun Dec 09 00:56:29 2007 +0000
@@ -84,10 +84,12 @@
 libgnt_la_LIBADD = \
 	$(GLIB_LIBS) \
 	$(GNT_LIBS) \
-	$(LIBXML_LIBS)
+	$(LIBXML_LIBS) \
+	$(PY_LIBS)
 
 AM_CPPFLAGS = \
 	$(GLIB_CFLAGS) \
 	$(GNT_CFLAGS) \
 	$(DEBUG_CFLAGS) \
-	$(LIBXML_CFLAGS)
+	$(LIBXML_CFLAGS) \
+	$(PY_CFLAGS)