Skip to content

Commit

Permalink
Fixed pthread linkage and --kill-at again for windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
wivlaro committed May 9, 2012
1 parent ced203f commit e08b683
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else
-Wl,--out-implib=libs/libpd.lib
CSHARP_LDFLAGS = $(MINGW_LDFLAGS) -Wl,--output-def=libs/libpdcsharp.def \
-Wl,--out-implib=libs/libpdcsharp.lib
JAVA_LDFLAGS = $(MINGW_LDFLAGS)
JAVA_LDFLAGS = $(MINGW_LDFLAGS) -Wl,--kill-at
else # Assume Linux
SOLIB_EXT = so
PDNATIVE_PLATFORM = linux
Expand Down
Binary file modified java-build/org/puredata/natives/windows/x86/pdnative.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified java-build/org/puredata/natives/windows/x86_64/pdnative.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 1 addition & 2 deletions java/org/puredata/core/PdBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ public final class PdBase {
private final static Map<Integer, Long> patches = new HashMap<Integer, Long>();

static {
NativeLoader.loadLibrary("pthreadGC2-w32", "windows", "x86");
NativeLoader.loadLibrary("pthreadGC2-w64", "windows", "x86_64");
NativeLoader.loadLibrary("pthreadGC2", "windows");
NativeLoader.loadLibrary("pdnative");
initialize();
}
Expand Down

0 comments on commit e08b683

Please sign in to comment.