From 69cbd89f0d2684da6523cada8d4ec32809648551 Mon Sep 17 00:00:00 2001 From: Mukund Sivaraman Date: Thu, 14 Sep 2017 13:23:41 +0530 Subject: [PATCH] Link dlzexternal system test's driver against libisc (cherry picked from commit bbe9f1dd951b337f901c06e5b084065b42ba6950) (cherry picked from commit e05b7dc69afb8793ce7f098163e4098fda30ad7b) --- bin/tests/system/dlzexternal/Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/dlzexternal/Makefile.in b/bin/tests/system/dlzexternal/Makefile.in index 1327c39671..d4a6fdaa43 100644 --- a/bin/tests/system/dlzexternal/Makefile.in +++ b/bin/tests/system/dlzexternal/Makefile.in @@ -41,8 +41,13 @@ OBJS = CFLAGS = @CFLAGS@ @SO_CFLAGS@ SO_LDFLAGS = @LDFLAGS@ @SO_LDFLAGS@ -driver.@SO@: ${SO_OBJS} - ${LIBTOOL_MODE_LINK} @SO_LD@ ${SO_LDFLAGS} -o $@ driver.@O@ +ISCLIBS = ../../../../lib/isc/libisc.@A@ +SO_STRIP = @SO_STRIP@ + +driver.@SO@: ${SO_OBJS} ${ISCLIBS} + CLEANED=`echo "${ISCLIBS} ${LIBS}" | ${SO_STRIP}`; \ + ${LIBTOOL_MODE_LINK} @SO_LD@ ${SO_LDFLAGS} -o $@ ${SO_OBJS} \ + $${CLEANED} clean distclean:: rm -f ${TARGETS}