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)
  (components
-  (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) :
Which egg provides `hash-table-ref'?
Visually impaired? Let me spell it for you (wav file) download WAV