Skip to content

Commit

Permalink
Append PawPaw linkflags
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Oct 5, 2024
1 parent a24451f commit 03f3a96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Fluida/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ ifeq ($(TARGET), Linux)
LDFLAGS += -I. -I$(SCALA_DIR) -lm -pthread -lpthread -shared -lm -Wl,-z,noexecstack -Wl,--no-undefined \
-fvisibility=hidden `pkg-config --cflags --libs fluidsynth`

ifeq ($(PAWPAW_BUILD),1)
LDFLAGS += -lfluidsynth -lglib-2.0 -lgthread-2.0 -lsndfile -lFLAC -lvorbisenc -lvorbis -lopus -logg -lpthread -lm
endif

GUI_LDFLAGS += -I$(HEADER_DIR) -Wl,-z,noexecstack -Wl,--no-undefined -fvisibility=hidden \
-L. $(LIB_DIR)libxputty.a -shared `pkg-config --cflags --libs cairo x11` -lm -Wl,-z,nodelete \
-pthread -lpthread
Expand All @@ -66,6 +70,10 @@ else ifeq ($(TARGET), Windows)
LDFLAGS += -I. -I$(SCALA_DIR) `$(PKGCONFIG) $(PKGCONFIG_FLAGS) --cflags --libs fluidsynth` \
-shared -lm $(PAWPAW_LFLAGS)

ifeq ($(PAWPAW_BUILD),1)
LDFLAGS += -lfluidsynth -lglib-2.0 -lgthread-2.0 -lsndfile -lFLAC -lvorbisenc -lvorbis -lopus -logg -lpthread -lm -lole32 -lws2_32 -lwinmm
endif

GUI_LDFLAGS += -I./gui -I./plugin -I$(HEADER_DIR) -static-libgcc -static-libstdc++ \
`$(PKGCONFIG) $(PKGCONFIG_FLAGS) --cflags --libs cairo ` -pthread -lpthread \
-L. $(LIB_DIR)libxputty.$(STATIC_LIB_EXT) -shared -lm $(PAWPAW_LFLAGS)
Expand Down

0 comments on commit 03f3a96

Please sign in to comment.