Changeset 2446 in project


Ignore:
Timestamp:
11/15/06 21:48:25 (15 years ago)
Author:
sjamaan
Message:

Fix linking problems on NetBSD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imlib2/imlib2.setup

    r1803 r2446  
    1 (define with-x? (test-compile "int main(){ return 0; }" #:ldflags "-L/usr/X11R6/lib -lX11"))
     1(define with-x? (test-compile "int main(){ return 0; }" #:ldflags "-L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lX11"))
    22
    33(if with-x?
    44    (compile -feature with-x -s -O2 -d0 imlib2.scm
    55        -I/usr/X11R6/include
    6         -lImlib2 "`freetype-config --libs`" -L/usr/X11R6/lib -lX11 -lXext)
     6        -lImlib2 "`freetype-config --libs`" -L/usr/X11R6/lib "-Wl,-R/usr/X11R6/lib" -lX11 -lXext)
    77    (compile -s -O2 -d0 imlib2.scm -C -DX_DISPLAY_MISSING))
    88
Note: See TracChangeset for help on using the changeset viewer.