Repository: PistonDevelopers/glfw-rs (language: rust)

Issue:
Travis CI build fails with "note: /usr/bin/ld: cannot find -lglfw"
`.travis.yml` probably needs a line where that dependency is installed (if possible).



Discussion / hints:

Fix patch:
diff --git a/.travis.yml b/.travis.yml
index 5f99201c..b2d42977 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,5 +3,13 @@ before_install:
   - sudo apt-get update
 install:
   - sudo apt-get install rust-nightly
+  - sudo apt-get install libXxf86vm-dev
 script:
-  - rustpkg build glfw
\ No newline at end of file
+  - git clone https://github.com/glfw/glfw.git
+  - cd glfw
+  - git checkout 3.0.3
+  - cmake -DBUILD_SHARED_LIBS=ON
+  - make
+  - sudo make install
+  - cd ..
+  - rustpkg build glfw


Test patch: