From 08c152ceebc21614e61694784768cbff1ff090c0 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 25 Sep 2013 20:29:28 +0000 Subject: [PATCH] build: fix LDFLAGS overriding issue. --- test/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Makefile.am b/test/Makefile.am index 1345bd13..a6ff2af5 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -61,7 +61,8 @@ meshviewer_SOURCES = meshviewer.cpp \ shinymvtexture.lolfx shinyfur.lolfx mviewer_em_test.lolfx meshviewer_CPPFLAGS = $(AM_CPPFLAGS) meshviewer_DEPENDENCIES = @LOL_DEPS@ +meshviewer_LDFLAGS = $(AM_LDFLAGS) if USE_EMSCRIPTEN -meshviewer_LDFLAGS = $(AM_LDFLAGS) -s EXPORTED_FUNCTIONS="['_main', '_C_Send']" +meshviewer_LDFLAGS += -s EXPORTED_FUNCTIONS="['_main', '_C_Send']" endif