From 40d20e0920fe0511ca015df2f2ef61826b064e4a Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sun, 21 Jun 2020 17:45:02 +0100 Subject: [PATCH] Fix the LIBS for gpsd. --- NXDNGateway/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/NXDNGateway/Makefile b/NXDNGateway/Makefile index 24cba48..c3ff0fd 100644 --- a/NXDNGateway/Makefile +++ b/NXDNGateway/Makefile @@ -1,13 +1,14 @@ CC = gcc CXX = g++ -# Use the following CFLAGS if you don't want to use gpsd. +# Use the following CFLAGS and LIBS if you don't want to use gpsd. CFLAGS = -g -O3 -Wall -std=c++0x -pthread +LIBS = -lpthread -# Use the following CFLAGS if you do want to use gpsd. +# Use the following CFLAGS and LIBS if you do want to use gpsd. CFLAGS = -g -O3 -Wall -DUSE_GPSD -std=c++0x -pthread - LIBS = -lpthread -lgps + LDFLAGS = -g OBJECTS = APRSWriter.o Conf.o GPSHandler.o IcomNetwork.o KenwoodNetwork.o Log.o Mutex.o NXDNCRC.o NXDNGateway.o NXDNLookup.o NXDNNetwork.o \