Browse Source

Fix GLEW in dep to use lib instead of lib64 install path

tags/v0.3.0
Andrew Belt 7 years ago
parent
commit
81a32da366
2 changed files with 4 additions and 5 deletions
  1. +2
    -2
      README.md
  2. +2
    -3
      dep/Makefile

+ 2
- 2
README.md View File

@@ -9,9 +9,9 @@
*If the build fails for you, please report the issue with a detailed error message to help the portability of Rack.*

Clone this repository and `cd` into it.
On Windows, use [MSYS2](http://www.msys2.org/) to set up a \*NIX shell.
On Windows, use [MSYS2](http://www.msys2.org/) and launch a mingw32/64 shell.

Clone submodules in `/ext`.
Clone submodules.

git submodule update --init



+ 2
- 3
dep/Makefile View File

@@ -35,9 +35,8 @@ $(glew):
$(WGET) https://downloads.sourceforge.net/project/glew/glew/$(patsubst glew-%,%,$@)/$@.tgz
$(UNTAR) $@.tgz
$(MAKE) -C $@
ln -s lib lib64
$(MAKE) -C $@ GLEW_DEST="$(LOCAL)" install
rm lib64
# On Linux, default lib path is lib64, so change it back to lib.
$(MAKE) -C $@ GLEW_DEST="$(LOCAL)" LIBDIR="$(LOCAL)/lib" install

$(glfw):
$(WGET) https://github.com/glfw/glfw/releases/download/$(patsubst glfw-%,%,$@)/$@.zip


Loading…
Cancel
Save