glew-2.1.0.diff 844 B

123456789101112131415161718
  1. diff -ru glew-2.1.0.org/config/Makefile.linux-mingw-w64 glew-2.1.0/config/Makefile.linux-mingw-w64
  2. --- glew-2.1.0.org/config/Makefile.linux-mingw-w64 2017-07-31 13:25:39.000000000 +0200
  3. +++ glew-2.1.0/config/Makefile.linux-mingw-w64 2019-01-14 23:40:05.627246200 +0100
  4. @@ -11,7 +11,6 @@
  5. STRIP :=
  6. LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32
  7. CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
  8. -LDFLAGS.EXTRA += -nostdlib
  9. WARN = -Wall -W
  10. POPT = -O2
  11. BIN.SUFFIX = .exe
  12. @@ -19,4 +18,4 @@
  13. LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib
  14. LIB.SHARED = $(NAME).dll
  15. LIB.STATIC = lib$(NAME).a # the static lib will be broken
  16. -LDFLAGS.SO = -shared -soname $(LIB.SONAME) --out-implib lib/$(LIB.DEVLNK)
  17. +LDFLAGS.SO = -shared -nostdlib -Wl,-soname,$(LIB.SONAME) -Wl,--out-implib,lib/$(LIB.DEVLNK)