summaryrefslogtreecommitdiffstats
path: root/src/path-prefix.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2016-06-21 13:08:22 +0000
committerTed Gould <ted@gould.cx>2016-06-21 13:08:22 +0000
commit1a20f71053ab79c1f130ce592a2557a79d03b195 (patch)
treee9020e576f4655e487cb4067399edee0590c5733 /src/path-prefix.h
parentMake sure that our share directory exits so that we can ../../ it (diff)
downloadinkscape-1a20f71053ab79c1f130ce592a2557a79d03b195.tar.gz
inkscape-1a20f71053ab79c1f130ce592a2557a79d03b195.zip
Adding a comment to explain what we're doing
(bzr r14950.1.10)
Diffstat (limited to 'src/path-prefix.h')
-rw-r--r--src/path-prefix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/path-prefix.h b/src/path-prefix.h
index 3e226dd97..8a39ede84 100644
--- a/src/path-prefix.h
+++ b/src/path-prefix.h
@@ -21,6 +21,10 @@
//#endif /* __cplusplus */
#ifdef ENABLE_BINRELOC
+/* The way that we're building now is with a shared library between Inkscape
+ and Inkview, and the code will find the path to the library then. But we
+ don't really want that. This prefix then pulls things out of the lib directory
+ and back into the root install dir. */
# define INKSCAPE_LIBPREFIX "/../.."
# define INKSCAPE_APPICONDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/pixmaps" )
# define INKSCAPE_ATTRRELDIR BR_DATADIR( INKSCAPE_LIBPREFIX "/share/inkscape/attributes" )