File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ WXCONFIG= wx-config --unicode=yes
83
83
endif
84
84
85
85
# Which command to use for download ?
86
- CURL =$(shell which curl 2>/dev/null)
87
- ifneq ($(CURL ) ,)
88
- DOWNLOAD_COMMAND =curl -L -O
89
- else
86
+ WGET =$(shell which wget 2>/dev/null)
87
+ ifneq ($(WGET ) ,)
90
88
DOWNLOAD_COMMAND =wget
89
+ else
90
+ DOWNLOAD_COMMAND =curl -L -O
91
91
endif
92
92
93
93
# If using glut (freeglut)
@@ -212,13 +212,13 @@ else
212
212
libfreeglut =
213
213
endif
214
214
215
- $(BUILD_DIR ) /wxWidgets-3.0.2 .tar.bz2 :
216
- cd $(BUILD_DIR ) && $(DOWNLOAD_COMMAND ) http ://ftp.wxwidgets.org/pub/3 .0.2 /wxWidgets-3.0.2 .tar.bz2
215
+ $(BUILD_DIR ) /wxWidgets-3.0.4 .tar.bz2 :
216
+ cd $(BUILD_DIR ) && $(DOWNLOAD_COMMAND ) https ://github.com/wxWidgets/wxWidgets/releases/download/v3 .0.4 /wxWidgets-3.0.4 .tar.bz2
217
217
218
- $(BUILD_DIR ) /static-libs/include/wx-3.0/wx/wx.h : $(BUILD_DIR ) /wxWidgets-3.0.2 .tar.bz2
219
- cd $(BUILD_DIR ) && rm -Rf wxWidgets-3.0.2 && tar -xjf wxWidgets-3.0.2 .tar.bz2
220
- cd $(BUILD_DIR ) /wxWidgets-3.0.2 && ./configure --with-gtk --with-opengl --prefix=$(BUILD_DIR ) /static-libs --enable-unicode --enable-optimise --disable-shared --x-includes=/usr/X11R6/include/ && $(MAKE ) install
221
- rm -Rf $(BUILD_DIR ) /wxWidgets-3.0.2
218
+ $(BUILD_DIR ) /static-libs/include/wx-3.0/wx/wx.h : $(BUILD_DIR ) /wxWidgets-3.0.4 .tar.bz2
219
+ cd $(BUILD_DIR ) && rm -Rf wxWidgets-3.0.4 && tar -xjf wxWidgets-3.0.4 .tar.bz2
220
+ cd $(BUILD_DIR ) /wxWidgets-3.0.4 && ./configure --with-gtk --with-opengl --prefix=$(BUILD_DIR ) /static-libs --enable-unicode --enable-optimise --disable-shared --x-includes=/usr/X11R6/include/ && $(MAKE ) install
221
+ rm -Rf $(BUILD_DIR ) /wxWidgets-3.0.4
222
222
223
223
ifneq ($(wxcryst ) ,0)
224
224
ifneq ($(shared-wxgtk ) ,1)
You can’t perform that action at this time.
0 commit comments