Skip to content

Commit

Permalink
Use -lsamplerate only for 'monitor' to work around problems building …
Browse files Browse the repository at this point in the history
…radiod on systems without that library
  • Loading branch information
ka9q committed Jan 22, 2025
1 parent eec40a9 commit bde35d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ LIBDIR=/usr/local/share/ka9q-radio
SODIR=/usr/local/lib/ka9q-radio
DAEMONDIR=/usr/local/sbin
VARDIR=/var/lib/ka9q-radio
LDLIBS=-ldl -lavahi-client -lavahi-common -lfftw3f_threads -lfftw3f -liniparser -lairspy -lairspyhf -lrtlsdr -lsamplerate -lopus -logg -lportaudio -lasound -lusb-1.0 -lncurses -lbsd -lm -lpthread
LDLIBS=-ldl -lavahi-client -lavahi-common -lfftw3f_threads -lfftw3f -liniparser -lairspy -lairspyhf -lrtlsdr -lopus -logg -lportaudio -lasound -lusb-1.0 -lncurses -lbsd -lm -lpthread

DAEMONS=aprs aprsfeed cwd opusd packetd radiod stereod rdsd

Expand Down Expand Up @@ -139,7 +139,7 @@ metadump: metadump.o libradio.a
$(CC) $(LDOPTS) -o $@ $^ $(LDLIBS)

monitor: monitor.o monitor-data.o monitor-display.o monitor-repeater.o libradio.a
$(CC) $(LDOPTS) -o $@ $^ $(LDLIBS)
$(CC) $(LDOPTS) -o $@ $^ -lsamplerate $(LDLIBS)

opusd: opusd.o libradio.a
$(CC) $(LDOPTS) -o $@ $^ $(LDLIBS)
Expand Down

0 comments on commit bde35d6

Please sign in to comment.