diff --git a/Makefile.pl b/Makefile.pl index 1e1d30d..b82ac5f 100755 --- a/Makefile.pl +++ b/Makefile.pl @@ -17,7 +17,6 @@ our $cflags = "-fPIC -D_MILSKO"; our $libdir = ""; our $ldflags = ""; our $math = "-lm"; -our $thread = "-lpthread"; our $shared = "-shared"; our $backend = ""; @@ -143,7 +142,7 @@ print(OUT "INCDIR = ${incdir}\n"); print(OUT "CFLAGS = ${cflags}\n"); print(OUT "LIBDIR = ${libdir}\n"); print(OUT "LDFLAGS = ${ldflags}\n"); -print(OUT "LIBS = ${math} ${thread} ${libs}\n"); +print(OUT "LIBS = ${math} ${libs}\n"); print(OUT "MATH = ${math}\n"); print(OUT "SHARED = ${shared}\n"); print(OUT "\n"); diff --git a/pl/ostype/Windows.pl b/pl/ostype/Windows.pl index 5a00da4..98f6f4d 100644 --- a/pl/ostype/Windows.pl +++ b/pl/ostype/Windows.pl @@ -3,7 +3,6 @@ $library_prefix = ""; $library_suffix = ".dll"; $executable_suffix = ".exe"; $math = ""; -$thread = ""; add_ldflags("-Wl,--out-implib,src/libMw.a -static-libgcc"); use_backend("gdi");