gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Add an OSX specific hacking file
feature/osx-fixing
2015-02-09, Gary Kramlich
99906cd2c844
Parents
d0794f596936
Children
2754de76cc30
1dde3157546b
Add an OSX specific hacking file
1 files changed, 21 insertions(+), 0 deletions(-)
+21
-0
HACKING.OSX
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/HACKING.OSX Mon Feb 09 14:11:18 2015 -0600
@@ -0,0 +1,21 @@
+There are a few notes about building on OSX.
+
+First off, building has *ONLY* been tested against homebrew. If you want to
+support fink or macports, please let me know and I will merge your pull
+request.
+
+Lua
+===
+
+For the Lua loader to work, you need to install lgi from luarocks either
+systemwide or to a virtual environment created by LuaDist, vert, or something
+along those lines.
+
+When you're building lgi against homebrew you'll have to set the
+PKG_CONFIG_PATH environment variable since homebrew does not install libffi
+systemwide. This is easily done via:
+
+ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
+
+and then running "luarocks install lgi"
+