mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fix linking failing when GDevelop is installed in a path containing spaces
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
namespace AutoVersion{
|
||||
|
||||
//Date Version Types
|
||||
static const char GDCore_DATE[] = "27";
|
||||
static const char GDCore_MONTH[] = "06";
|
||||
static const char GDCore_DATE[] = "01";
|
||||
static const char GDCore_MONTH[] = "08";
|
||||
static const char GDCore_YEAR[] = "2016";
|
||||
|
||||
//Software Status
|
||||
@@ -16,11 +16,11 @@ namespace AutoVersion{
|
||||
static const long GDCore_MAJOR = 4;
|
||||
static const long GDCore_MINOR = 0;
|
||||
static const long GDCore_BUILD = 92;
|
||||
static const long GDCore_REVISION = 0;
|
||||
static const long GDCore_REVISION = 1;
|
||||
|
||||
//Miscellaneous Version Types
|
||||
#define GDCore_RC_FILEVERSION 4,0,92,0
|
||||
#define GDCore_RC_FILEVERSION_STRING "4, 0, 92, 0\0"
|
||||
static const char GDCore_FULLVERSION_STRING[] = "4.0.92.0";
|
||||
#define GDCore_RC_FILEVERSION 4,0,92,1
|
||||
#define GDCore_RC_FILEVERSION_STRING "4, 0, 92, 1\0"
|
||||
static const char GDCore_FULLVERSION_STRING[] = "4.0.92.1";
|
||||
}
|
||||
#endif //GDCORE_VERSION_H
|
||||
|
@@ -140,7 +140,7 @@ gd::String CodeCompilerCall::GetFullCall() const
|
||||
else //Generate argument for linking files
|
||||
{
|
||||
if(!compilationForRuntime)
|
||||
args.push_back("-Wl,-rpath," + baseDir);
|
||||
args.push_back("-Wl,-rpath,\"" + baseDir + "\"");
|
||||
args.push_back("-shared");
|
||||
if ( !inputFile.empty() ) args.push_back("\""+inputFile+"\"");
|
||||
for (std::size_t i = 0;i<extraObjectFiles.size();++i)
|
||||
|
Reference in New Issue
Block a user