Skip to content

Commit

Permalink
Setup rpath for mod-app linux builds
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Nov 1, 2023
1 parent 824e73a commit a85c6c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ endif

ifeq ($(MODAPP),1)
CXXFLAGS += -DMODAPP
ifneq ($(MACOS)$(WINDOWS),true)
LDFLAGS += -Wl,-rpath,'$$ORIGIN/..'
endif
else ifeq ($(shell pkg-config --exists alsa && echo true), true)
CXXFLAGS += -DHAVE_ALSA
ALSA_CFLAGS = $(shell pkg-config --cflags alsa)
Expand Down

0 comments on commit a85c6c1

Please sign in to comment.