Changeset 6624 in project


Ignore:
Timestamp:
11/01/07 09:34:09 (13 years ago)
Author:
Ivan Raikov
Message:

Updated build script to use platform-dependent dynamic library suffix.

Location:
random-swb/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • random-swb/trunk/random-swb-eggdoc.scm

    r4978 r6624  
    99
    1010     (history
     11      (version "1.3" "Build script updated for better cross-platform compatibility")
    1112      (version "1.2" "Fixed the .meta file to include the documentation")
    1213      (version "1.1" "License upgrade to GPL v3")
  • random-swb/trunk/random-swb.setup

    r4978 r6624  
    22(define has-exports? (string>=? (chicken-version) "2.310"))
    33
    4 (compile  -X easyffi -d0 -O2 -e -s
     4(define (dynld-name fn)         
     5  (make-pathname #f fn ##sys#load-dynamic-extension))   
     6
     7(compile  -X easyffi -O2 -d0 -e -s
    58         ,@(if has-exports? '(-check-imports -emit-exports random-swb.exports) '())
    69         random-swb.scm -lchicken -ldl -lm)
     
    1417
    1518  ; Files to install for your extension:
    16   `("random-swb.so" "random-swb.html"
     19  `(,(dynld-name "random-swb") "random-swb.html"
    1720    ,@(if has-exports? '("random-swb.exports") (list)) )
    1821
    1922  ; Assoc list with properties for your extension:
    20   '((version 1.2)
     23  '((version 1.3)
    2124    (documentation "random-swb.html")
    2225    ,@(if has-exports? `((exports "random-swb.exports")) (list)) ))
Note: See TracChangeset for help on using the changeset viewer.