You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mingw-dlfcn/dlfcn-fix-static-lib.patch

14 lines
400 B

--- Makefile.orig 2012-02-16 14:38:27.110914820 +0100
+++ Makefile 2012-02-16 14:38:56.615439410 +0100
@@ -31,8 +31,8 @@
$(CC) -o dlfcn.o -c dlfcn.c -Wall -O3 -fomit-frame-pointer
libdl.a: dlfcn.o
- ar cru libdl.a dlfcn.o
- ranlib libdl.a
+ i686-w64-mingw32-ar cru libdl.a dlfcn.o
+ i686-w64-mingw32-ranlib libdl.a
libdl.dll: dlfcn.o
$(CC) $(SHFLAGS) -shared -o libdl.dll dlfcn.o