Changeset 25784 in project


Ignore:
Timestamp:
01/08/12 00:18:31 (9 years ago)
Author:
ecloud
Message:

Use pkg-config to find dbus includes (Debian is different)

File:
1 edited

Legend:

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

    r20078 r25784  
    44
    55(make (("dbus.import.so" ("dbus.c")
    6         (run (csc -s -O3 -d0 dbus.import.scm)))
     6        (compile -s -O3 -d0 dbus.import.scm))
    77       ("dbus.so" ("dbus.c")
    8         (run (csc -s -O3 -d1 dbus.scm
    9                    -ldbus-1 -I/usr/include/dbus-1.0/ -I/usr/lib/dbus-1.0/include)))
     8        (compile -s -O3 -d1 dbus.scm ,(with-input-from-pipe "pkg-config --cflags dbus-1" read-line) -ldbus-1))
    109       ("dbus.c" ("dbus.scm")
    11         (run (csc -t dbus.scm -O3 -d1 -X easyffi -C -g -j dbus))))
     10        (compile -t dbus.scm -O3 -d1 -X easyffi -C -g -j dbus)))
    1211 '("dbus.so" "dbus.import.so"))
    1312
    1413(install-extension 'dbus
    1514                   `("dbus.so" "dbus.import.so")
    16                    `((version 0.87)))
     15                   `((version 0.88)))
    1716
    18 ;; pkg-config dbus-1 --cflags
Note: See TracChangeset for help on using the changeset viewer.