summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-06-01 20:42:30 -0400
committerDavid Thompson <dthompson2@worcester.edu>2016-06-01 20:42:30 -0400
commit58677e6973f616a781ac58c8cdacfe10017ce3f4 (patch)
tree671979a6f02d3b84b2a4712a96021662ed96a95c /README
parentc87dcaf48fff6fe6689632ac6e66023a216690fc (diff)
README: Add more Guix-specific instructions.
Diffstat (limited to 'README')
-rw-r--r--README9
1 files changed, 9 insertions, 0 deletions
diff --git a/README b/README
index 7e9a3e8..7ac26f7 100644
--- a/README
+++ b/README
@@ -59,6 +59,15 @@ SDL2_image, SDL2_mixer, and SDL2_ttf.
guix package -f guix.scm
#+END_SRC
+ To configure the build properly, run the following:
+
+ #+BEGIN_SRC sh
+ ./configure --with-libsdl2-prefix=$(guix build sdl2) \
+ --with-libsdl2-image-prefix=$(guix build sdl2-image) \
+ --with-libsdl2-ttf-prefix=$(guix build sdl2-ttf) \
+ --with-libsdl2-mixer-prefix=$(guix build sdl2-mixer)
+ #+END_SRC
+
* Usage
Guile-SDL2 provides modules in the =(sdl2 ...)= namespace, roughly