From d49c75370ae6ffcec4b3d11cd959fe7d251ef67c Mon Sep 17 00:00:00 2001 From: Unit 193 <32967979+Unit193@users.noreply.github.com> Date: Mon, 21 Aug 2023 05:24:25 -0400 Subject: Allow cross compilation. (#1182) --- src/Main/Main.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Main/Main.make') diff --git a/src/Main/Main.make b/src/Main/Main.make index 84f9d755..90b8b126 100755 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -102,7 +102,7 @@ endif #------ FUSE configuration ------ -FUSE_LIBS = $(shell pkg-config fuse --libs) +FUSE_LIBS = $(shell $(PKG_CONFIG) fuse --libs) #------ Executable ------ @@ -159,7 +159,7 @@ endif $(APPNAME): $(LIBS) $(OBJS) @echo Linking $@ - $(CXX) -o $(APPNAME) $(OBJS) $(LIBS) $(FUSE_LIBS) $(WX_LIBS) $(LFLAGS) + $(CXX) -o $(APPNAME) $(OBJS) $(LIBS) $(AYATANA_LIBS) $(FUSE_LIBS) $(WX_LIBS) $(LFLAGS) ifeq "$(TC_BUILD_CONFIG)" "Release" ifndef NOSTRIP -- cgit v1.2.3