From ae1fdc3fb33922705a32bed6da3c7236422adf7a Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Wed, 17 Feb 2021 16:40:38 +0100
Subject: [PATCH 5/7] Fix testProgs static-lib link order

---
 testProgs/Makefile.tail | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testProgs/Makefile.tail b/testProgs/Makefile.tail
index 8f0e4de..e9a9e87 100644
--- a/testProgs/Makefile.tail
+++ b/testProgs/Makefile.tail
@@ -73,7 +73,8 @@ LIVEMEDIA_LIB = $(LIVEMEDIA_DIR)/libliveMedia.$(libliveMedia_LIB_SUFFIX)
 GROUPSOCK_DIR = ../groupsock
 GROUPSOCK_LIB = $(GROUPSOCK_DIR)/libgroupsock.$(libgroupsock_LIB_SUFFIX)
 LOCAL_LIBS =	$(LIVEMEDIA_LIB) $(GROUPSOCK_LIB) \
-		$(BASIC_USAGE_ENVIRONMENT_LIB) $(USAGE_ENVIRONMENT_LIB)
+		$(BASIC_USAGE_ENVIRONMENT_LIB) $(USAGE_ENVIRONMENT_LIB) \
+		$(GROUPSOCK_LIB)
 LIBS =			$(LOCAL_LIBS) $(LIBS_FOR_CONSOLE_APPLICATION)
 
 testMP3Streamer$(EXE):	$(MP3_STREAMER_OBJS) $(LOCAL_LIBS)
-- 
2.30.1.windows.1

