~mars/+junk/geany-python-bindings

« back to all changes in this revision

Viewing changes to wscript

  • Committer: Maris Fogels
  • Date: 2009-03-01 00:41:24 UTC
  • Revision ID: maris.fogels@canonical.com-20090301004124-akmc25ruagxr5n30
The library links successfully.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
 
73
73
def build(bld):
74
 
    bld.env['shlib_PATTERN']    = '%s.so'
75
 
 
76
74
    bld.new_task_gen(
77
 
        features = 'cc shlib pyembed',
 
75
        features = 'cc cshlib pyembed',
78
76
        target = 'geanypython',
79
77
        source = ['src/geanypython.c'],
80
78
        includes = ['.', 'src'],
81
79
        uselib = 'GTK GEANY',
82
 
        install_path = '${LIBDIR}/geany/plugins/geanypython'
 
80
        install_path = '${DATADIR}/geany/plugins/'
83
81
    )
84
82
 
85
 
 
86
83
def set_lib_dir(conf):
87
84
    # use the libdir specified on command line
88
85
    if Options.options.libdir: