test: Add SDK testcase flags
It is required as earlier create_pnor_partition_table test
binary try to link with host native libs instead of SDK libs.
Change-Id: I7817929db8699f66f6f2198cae5f1d5a16fcc5b9
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
index 78aeffa..ce9b119 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -115,7 +115,8 @@
test/create_pnor_partition_table.cpp \
common.c \
pnor_partition_table.cpp
-test_create_pnor_partition_table_LDFLAGS = -lstdc++fs
+test_create_pnor_partition_table_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
+test_create_pnor_partition_table_LDADD = -lstdc++fs
check_PROGRAMS = test/sanity \
test/copy_flash \