Ticket #710: openbsd-build.diff

File openbsd-build.diff, 643 bytes (added by Christian Kellermann, 10 years ago)
  • tokyocabinet.setup

     
     1(define cflags
     2  (if (eq? 'openbsd (software-version))
     3      '(-I/usr/local/include)
     4      '()))
     5(define lflags
     6  (if (eq? 'openbsd (software-version))
     7      '(-L/usr/local/lib)
     8      '()))
    19
    2 (compile -s -O2 -f -d0 -X easyffi -j tokyocabinet tokyocabinet.scm -ltokyocabinet)
     10(compile -s -O2 -f -d0 -X easyffi -j tokyocabinet tokyocabinet.scm ,@cflags ,@lflags -ltokyocabinet)
    311(compile -s -O2 -d0 tokyocabinet.import.scm)
    412
    513(install-extension