summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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