Welcome to the CHICKEN Scheme pasting service

use pkg-config in exif egg on !windows added by gahr on Mon Mar 13 11:57:35 2023

Index: exif/trunk/exif.egg
--- exif/trunk/exif.egg (revision 42405)
+++ exif/trunk/exif.egg (working copy)
@@ -7,4 +7,8 @@
  (license "BSD")
  (dependencies foreigners srfi-13)
-  (extension exif (csc-options -L -lexif))))
+   (extension exif
+     (cond-expand
+       (windows (csc-options -L -lexif))
+       (else (csc-options -C "`pkg-config --cflags libexif`")
+             (link-options -L "`pkg-config --libs libexif`"))))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What does `(string? 42)' produce?
Visually impaired? Let me spell it for you (wav file) download WAV