diff nodejs/Makefile.am @ 694:7e64e0f70cb6

Switch XSHM with autoconf
author Thinker K.F. Li <thinker@branda.to>
date Mon, 09 Aug 2010 12:03:46 +0800
parents 8b7964869f7a
children dfa8b69e4423
line wrap: on
line diff
--- a/nodejs/Makefile.am	Mon Aug 09 10:03:54 2010 +0800
+++ b/nodejs/Makefile.am	Mon Aug 09 12:03:46 2010 +0800
@@ -5,7 +5,11 @@
 	-I$(abs_top_srcdir)/include \
 	-I$(prefix)/include \
 	@pangocairo_CFLAGS@ $(CFLAGS)
-mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@ -lXext
+mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@
+
+if XSHM
+mbfly_node_LDFLAGS += -lXext
+endif
 
 all: mbfly.node
 clean: clean-mbfly-node