changeset 1090:762d1e3795f3 openvg

Link OpenVG against nodejs plugin
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 03 Dec 2010 22:17:12 +0800
parents 74f36875980d
children 71354f3e2a30
files nodejs/Makefile.am
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nodejs/Makefile.am	Fri Dec 03 22:01:41 2010 +0800
+++ b/nodejs/Makefile.am	Fri Dec 03 22:17:12 2010 +0800
@@ -9,7 +9,11 @@
 	@imlib2_CFLAGS@ \
 	@pangocairo_CFLAGS@ $(CFLAGS) $(CPPFLAGS)
 mbfly_node_LDFLAGS = -L$(abs_top_builddir)/src/.libs @pangocairo_LIBS@ \
-	@imlib2_LIBS@
+	@imlib2_LIBS@ $(LDFLAGS)
+
+if OPENVG_GRAPH_ENGINE
+mbfly_node_LDFLAGS += -lOpenVG
+endif
 
 if XSHM
 mbfly_node_LDFLAGS += -lXext