mirror of https://github.com/tp4a/teleport
build rdp on linux.
parent
fe34aafa49
commit
5b30dc8f47
|
@ -2,7 +2,7 @@
|
|||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$/builder" />
|
||||
<orderEntry type="jdk" jdkName="py" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="py34" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="TestRunnerService">
|
||||
|
|
|
@ -326,7 +326,7 @@ class BuilderLinux(BuilderBase):
|
|||
old_p = os.getcwd()
|
||||
os.chdir(self.LIBUV_PATH_SRC)
|
||||
os.system('sh autogen.sh')
|
||||
os.system('./configure --prefix={}'.format(self.PATH_RELEASE))
|
||||
os.system('./configure --prefix={} --with-pic'.format(self.PATH_RELEASE))
|
||||
os.system('make')
|
||||
os.system('make install')
|
||||
os.chdir(old_p)
|
||||
|
@ -411,7 +411,7 @@ class BuilderLinux(BuilderBase):
|
|||
|
||||
old_p = os.getcwd()
|
||||
os.chdir(self.MBEDTLS_PATH_SRC)
|
||||
os.system('make lib')
|
||||
os.system('make CFLAGS="-fPIC" lib')
|
||||
os.system('make install')
|
||||
os.chdir(old_p)
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ typedef wchar_t ex_utf16;
|
|||
#else
|
||||
typedef unsigned long long ex_u64;
|
||||
typedef signed long long ex_i64;
|
||||
typedef ex_u16 ex_utf16;
|
||||
typedef ex_i16 ex_utf16;
|
||||
#endif
|
||||
|
||||
typedef int EX_BOOL;
|
||||
|
|
|
@ -381,9 +381,9 @@ ex_wstr& ex_replace_all(ex_wstr& str, const ex_wstr& old_value, const ex_wstr& n
|
|||
|
||||
#ifndef EX_OS_WIN32
|
||||
|
||||
// #define BYTE ts_u8
|
||||
// #define DWORD ts_u32
|
||||
// #define WCHAR ts_u16
|
||||
#define BYTE ex_u8
|
||||
#define DWORD ex_u32
|
||||
#define WCHAR ex_i16
|
||||
#define LPWSTR WCHAR*
|
||||
#define BOOL int
|
||||
#define TRUE 1
|
||||
|
|
|
@ -10,3 +10,5 @@ cmake_minimum_required(VERSION 3.5)
|
|||
add_subdirectory(tp_web/src)
|
||||
add_subdirectory(tp_core/core)
|
||||
add_subdirectory(tp_core/protocol/ssh)
|
||||
add_subdirectory(tp_core/protocol/rdp)
|
||||
|
||||
|
|
Loading…
Reference in New Issue