Skip to content

Commit

Permalink
Use pkg-config to find fluidsynth
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth committed Jul 8, 2021
1 parent 260e7bd commit 041ccbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ ifeq ($(OS),Windows_NT)
EXEEXT=.exe
else
# Non-Windows
LDFLAGS += -lfluidsynth
CFLAGS += $(shell pkg-config --cflags fluidsynth)
LDFLAGS += $(shell pkg-config --libs fluidsynth)
endif

SOUND_FONT_FILE = FluidR3_GM.sf2
Expand Down

0 comments on commit 041ccbe

Please sign in to comment.