Index: native_client_sdk/src/resources/Makefile.library.template |
diff --git a/native_client_sdk/src/resources/Makefile.library.template b/native_client_sdk/src/resources/Makefile.library.template |
index f36bdd91cdebfcd9409485bec04be41e34e86eaa..5687355e04f6407801750a83dd7b81dcbefa2c55 100644 |
--- a/native_client_sdk/src/resources/Makefile.library.template |
+++ b/native_client_sdk/src/resources/Makefile.library.template |
@@ -33,9 +33,10 @@ NACL_SDK_ROOT ?= $(abspath $(CURDIR)/../..) |
EXTRA_INC_PATHS={{' '.join(target['INCLUDES'])}} |
[[]] |
+TARGET = {{target['NAME']}} |
+ |
include $(NACL_SDK_ROOT)/tools/common.mk |
-TARGET = {{target['NAME']}} |
[[ExpandDict('DEPS', targets[0].get('DEPS', []))]] |
[[ExpandDict('LIBS', targets[0].get('LIBS', []), pre_list=['$(DEPS)'])]] |
[[flags = target.get('CFLAGS', [])]] |