From 0e8463ea1dc55f566a88bb3df29cf3d5f23cc326 Mon Sep 17 00:00:00 2001 From: John Cox Date: Mon, 8 Apr 2013 17:15:42 +0100 Subject: [PATCH] Fix static library linking Now we make the .so correctly we tried to link with it which meant the tools didn't run by default! Linkage now fixed to static. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 37e3c89..2c3568e 100644 --- a/Makefile +++ b/Makefile @@ -155,7 +155,7 @@ TEST_OBJS = \ # Our library STATIC_LIB = $(LIBDIR)/libtstools.a -LIBOPTS = -L$(LIBDIR) -ltstools $(ARCH_FLAGS) +LIBOPTS = $(ARCH_FLAGS) $(STATIC_LIB) ifeq ($(shell uname -s), Darwin) SHARED_LIB = $(LIBDIR)/libtstools.xxx