fix soname
Stefan Schuermans

Stefan Schuermans commited on 2017-12-30 20:27:13
Showing 1 changed files, with 3 additions and 3 deletions.

... ...
@@ -29,19 +29,19 @@ LIB_LDLIBS+=-lgif
29 29
 endif
30 30
 
31 31
 ifeq ($(BLINKENLIB_CFG_WIN),1)
32
+SHLIBEXT:=dll
32 33
 LIB_LDLIBS+=-lws2_32
33 34
 BIN_LDLIBS+=-lws2_32
34
-SHLIBEXT:=dll
35 35
 else
36 36
 ifeq ($(BLINKENLIB_CFG_OSX),1)
37 37
 CFLAGS+=-I/sw/include
38
+SHLIBEXT:=dylib
38 39
 LIB_LDFLAGS+=-L/sw/lib
39 40
 BIN_LDFLAGS+=-L/sw/lib -Wl,-rpath,'$$ORIGIN'
40
-SHLIBEXT:=dylib
41 41
 else
42
+SHLIBEXT:=so
42 43
 LIB_LDFLAGS+=-Wl,-soname,libBlinkenLib.$(SHLIBEXT).$(VERSION_MAJOR)
43 44
 BIN_LDFLAGS+=-Wl,-rpath,'$$ORIGIN'
44
-SHLIBEXT:=so
45 45
 endif
46 46
 endif
47 47
 
48 48