mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 05:25:21 +02:00
Bug 521515: Build pty.dll in docker (fixup)
Fixes for items identified by Torbjörn in my changes to commit
2d03236339
Change-Id: I51f289f731062b4a43bb041d25cd08467014151e
This commit is contained in:
parent
786ae3ce2b
commit
8c1be591ff
5 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ $(OS_DIR_WIN32_X86_64)/pty.dll: win/pty.cpp win/pty_dllmain.cpp
|
|||
x86_64-w64-mingw32-g++ -o $@ -Iinclude -Iwin/include -I"$(JAVA_HOME)/include" -I"$(JAVA_HOME)/include/win32" \
|
||||
-DUNICODE \
|
||||
win/pty.cpp win/pty_dllmain.cpp \
|
||||
-Wl,--kill-at --shared -L$(OS_DIR_WIN32_X86_64) -lwinpty # -static-libstdc++ -static-libgcc
|
||||
-Wl,--kill-at --shared -L$(OS_DIR_WIN32_X86_64) -lwinpty -static-libstdc++ -static-libgcc
|
||||
|
||||
# Linux x86_64
|
||||
$(OS_DIR_LINUX_X86_64)/libspawner.so: unix/spawner.c unix/io.c unix/exec_unix.c unix/exec_pty.c unix/openpty.c unix/pfind.c
|
||||
|
|
|
@ -262,7 +262,8 @@ public class PTY {
|
|||
|
||||
static {
|
||||
try {
|
||||
if (Platform.OS_WIN32.equals(Platform.getOS())) {
|
||||
isWinPTY = Platform.OS_WIN32.equals(Platform.getOS());
|
||||
if (isWinPTY) {
|
||||
// When we used to build with VC++ we used DelayLoadDLLs (See Gerrit 167674 and Bug 521515) so that the winpty
|
||||
// could be found. When we ported to mingw we didn't port across this feature because it was simpler to just
|
||||
// manually load winpty first.
|
||||
|
@ -270,7 +271,6 @@ public class PTY {
|
|||
}
|
||||
System.loadLibrary("pty"); //$NON-NLS-1$
|
||||
hasPTY = true;
|
||||
isWinPTY = Platform.OS_WIN32.equals(Platform.getOS());
|
||||
// on windows console mode is not supported except for experimental use
|
||||
// to enable it, set system property org.eclipse.cdt.core.winpty_console_mode=true
|
||||
isConsoleModeSupported = !isWinPTY || Boolean.getBoolean("org.eclipse.cdt.core.winpty_console_mode"); //$NON-NLS-1$
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue