Skip to content

Commit

Permalink
use pkg-config to determine link flags for ncurses
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed May 21, 2024
1 parent e8a652c commit 3e33c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ endif
ifeq ($(DISABLE_INTERACTIVE), yes)
CFLAGS += -DDISABLE_INTERACTIVE
else
LIBS += -lncurses -ltinfo
LIBS += $(shell pkg-config --libs ncurses)
endif

# only disable workaround if zerocopy is disabled in librtlsdr, otherwise expect significantly increased CPU use
Expand Down

0 comments on commit 3e33c89

Please sign in to comment.