Skip to content

Commit

Permalink
CURL and build from source fix for 64bit Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHart66 committed Dec 5, 2020
1 parent ab4cce6 commit c14ec52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/brl/native/httprequest.glfw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// Libcurl for Linux will be from a system repository when installed
#ifdef __linux__
#include <curl/curl.h>
#include "curl/include/curl.h"
#else
#include "curl/include/curl.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion targets/glfw3/template/config.cxs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

#GLFW_GCC_CC_OPTS+=" -fpic "
#GLFW_USE_MINGW=True

#GLFW_GCC_MSIZE_WINNT="64"
Expand Down
2 changes: 1 addition & 1 deletion targets/glfw3/template/gcc_linux/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

CC=gcc
CFLAGS=-D_GLFW_X11

Expand All @@ -9,6 +8,7 @@ CPPFLAGS=$(CCOPTS) \
-Wno-int-to-pointer-cast \
-Wno-free-nonheap-object \
-Wno-unused-result \
-I../curl/include \
-I../glfw3/include \
-I../openal/include \
-I../stb \
Expand Down

0 comments on commit c14ec52

Please sign in to comment.