summaryrefslogtreecommitdiff
blob: 4dc4cc242ee7bdd2e8a510c24b1757280386aeb7 (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
--- lib/x11/Makefile.x11.in
+++ lib/x11/Makefile.x11.in
@@ -8,7 +8,7 @@
 ##########################################################################
 # Default: Build GLFW static library
 ##########################################################################
-all: libglfw.a libglfw.so
+all: libglfw.a libglfw.so.2.7.7
 
 
 ##########################################################################
@@ -112,7 +112,7 @@
 ##########################################################################
 # Rule for building shared library
 ##########################################################################
-libglfw.so: $(SHARED_OBJS)
+libglfw.so.2.7.7: $(SHARED_OBJS)
 	$(CC) $(SOFLAGS) -o $@ $(SHARED_OBJS) $(LFLAGS) $(LIBS)
 
 
--- compile.sh
+++ compile.sh
@@ -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.7"
   echo "Linux" 1>&6
   ;;
 xDarwin)