Changeset 25296 in project


Ignore:
Timestamp:
10/03/11 21:53:58 (9 years ago)
Author:
Christian Kellermann
Message:

iconv: add cflags and lflags for openbsd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/4/iconv/trunk/iconv.setup

    r15882 r25296  
    33(define libiconv
    44  (if (or (eq? 'macosx (software-version))
     5          (eq? 'openbsd (software-version))
    56          (eq? 'unknown (software-version)))
    67      '(-liconv)
    78      '()))
    89
    9 (compile -s -O2 -d0 -j iconv iconv.scm ,@libiconv)
     10(define linker-flags
     11  (if (eq? 'openbsd (software-version))
     12      '(-L/usr/local/lib)
     13      '()))
     14
     15(define compiler-flags
     16  (if (eq? 'openbsd (software-version))
     17      '(-I/usr/local/include)
     18      '()))
     19
     20(compile -s -O2 -d0 -j iconv iconv.scm ,@compiler-flags ,@linker-flags ,@libiconv)
    1021(compile -s -O2 -d0 iconv.import.scm)
    1122
Note: See TracChangeset for help on using the changeset viewer.