Add SDL2 include path to InteropDLL target.

This fixes builds on latest Ubuntu.
This commit is contained in:
Jack Andersen 2021-12-28 10:29:40 -05:00
parent f997643087
commit 5bdf11db05
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ name: "Linux build"
on: push
jobs:
win-build:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

View file

@ -139,7 +139,7 @@ Linux/$(OBJFOLDER)/%.o: Linux/%.cpp
Linux/$(OBJFOLDER)/%.o: Linux/libevdev/%.c
mkdir -p Linux/$(OBJFOLDER) && cd Linux/$(OBJFOLDER) && $(CC) $(CCOPTIONS) -c $(patsubst Linux/%, ../%, $<)
InteropDLL/$(OBJFOLDER)/%.o: InteropDLL/%.cpp
mkdir -p InteropDLL/$(OBJFOLDER) && cd InteropDLL/$(OBJFOLDER) && $(CPPC) $(GCCOPTIONS) -c $(patsubst InteropDLL/%, ../%, $<)
mkdir -p InteropDLL/$(OBJFOLDER) && cd InteropDLL/$(OBJFOLDER) && $(CPPC) $(GCCOPTIONS) -c $(patsubst InteropDLL/%, ../%, $<) $(SDL2INC)
InteropDLL/$(OBJFOLDER)/$(SHAREDLIB): $(SEVENZIPOBJ) $(LUAOBJ) $(UTILOBJ) $(COREOBJ) $(LIBEVDEVOBJ) $(LINUXOBJ) $(DLLOBJ)
mkdir -p bin