Browse Source

Pass the extra wine include flags when building dgl

tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
42896acc50
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      source/modules/dgl/Makefile

+ 7
- 1
source/modules/dgl/Makefile View File

@@ -12,6 +12,12 @@ include ../Makefile.mk


BUILD_CXX_FLAGS += $(DGL_FLAGS) -Isrc BUILD_CXX_FLAGS += $(DGL_FLAGS) -Isrc


ifneq ($(MACOS),true)
WINE_FLAGS = -I/usr/include/wine/wine/windows
WINE_FLAGS += -I/usr/include/wine-development/windows
WINE_FLAGS += -I/opt/wine-devel/include/wine/windows
endif

# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------


OBJS = \ OBJS = \
@@ -75,7 +81,7 @@ $(OBJDIR)/%.cpp.o: src/%.cpp
$(OBJDIR)/%.cpp-wine.o: src/%.cpp $(OBJDIR)/%.cpp-wine.o: src/%.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)
@echo "Compiling $< (Wine)" @echo "Compiling $< (Wine)"
@$(WINECC) $< $(BUILD_CXX_FLAGS) -c -o $@
@$(WINECC) $< $(BUILD_CXX_FLAGS) $(WINE_FLAGS) -c -o $@


$(OBJDIR)/Window.mm.o: src/Window.cpp $(OBJDIR)/Window.mm.o: src/Window.cpp
-@mkdir -p $(OBJDIR) -@mkdir -p $(OBJDIR)


Loading…
Cancel
Save