Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r--source/creator/creator.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 9b5a151b56b..7e426288340 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -97,6 +97,10 @@
# include <sys/rtprio.h>
#endif
+#ifdef __linux__
+#include "binreloc.h"
+#endif
+
// from buildinfo.c
#ifdef BUILD_DATE
extern char * build_date;
@@ -253,6 +257,12 @@ int main(int argc, char **argv)
int audio = 0;
#endif
+
+#ifdef __linux__
+ /* linux uses binrealoc to know its binary path */
+ br_init( NULL );
+#endif
+
setCallbacks();
#ifdef __APPLE__
/* patch to ignore argument finder gives us (pid?) */