summaryrefslogtreecommitdiff
blob: f212f96c6e736b44c27daafc615b4b861058997c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- compile.sh.old	2011-08-19 11:20:37.927080832 +0200
+++ compile.sh	2011-08-19 11:21:59.910080833 +0200
@@ -88,7 +88,7 @@
 case "x`uname 2> /dev/null`" in
 xLinux)
   GLFW_LIB_CFLAGS="$GLFW_LIB_CFLAGS -D_GLFW_USE_LINUX_JOYSTICKS"
-  SOFLAGS="-shared -Wl,-soname,libglfw.so"
+  SOFLAGS="-shared -Wl,-soname,libglfw.so.2.7"
   echo "Linux" 1>&6
   ;;
 xDarwin)
@@ -96,7 +96,7 @@
   echo "Mac OS X" 1>&6
   ;;
 *)
-  SOFLAGS="-shared -soname libglfw.so"
+  SOFLAGS="-shared -soname libglfw.so.2.7"
   echo "Generic Unix" 1>&6
   ;;
 esac
@@ -627,7 +627,7 @@
 CFLAGS = $GLFW_BIN_CFLAGS $GLFW_CFLAGS
 
 LIB      = ../lib/x11/libglfw.a
-SOLIB    = ../lib/x11/libglfw.so
+SOLIB    = ../lib/x11/libglfw.so.2.7
 LFLAGS   = \$(LIB) $GLFW_LIB_LFLAGS $GLFW_BIN_LFLAGS $GLFW_LFLAGS
 SO_LFLAGS = \$(SOLIB) $GLFW_BIN_LFLAGS $GLFW_LFLAGS
 
@@ -652,7 +652,7 @@
 CFLAGS = $GLFW_BIN_CFLAGS $GLFW_CFLAGS
 
 LIB      = ../lib/x11/libglfw.a
-SOLIB    = ../lib/x11/libglfw.so
+SOLIB    = ../lib/x11/libglfw.so.2.7
 LFLAGS   = \$(LIB) $GLFW_LIB_LFLAGS $GLFW_BIN_LFLAGS $GLFW_LFLAGS
 SO_LFLAGS = \$(SOLIB) $GLFW_BIN_LFLAGS $GLFW_LFLAGS