Browse Source

wscript: dynamically link ntk-chtheme and ntk-fluid.

tags/v1.3.1000
Jonathan Moore Liles 12 years ago
parent
commit
f1d2f36b33
2 changed files with 10 additions and 3 deletions
  1. +3
    -1
      fluid/wscript
  2. +7
    -2
      wscript

+ 3
- 1
fluid/wscript View File

@@ -32,7 +32,9 @@ def build(bld):
''',
target='ntk-fluid',
includes = [ '.', '../' ],
use = [ 'ntk', 'ntk_images' ],
linkflags = '-L.',
depends = [ 'ntk', 'ntk_images' ],
lib = [ 'ntk', 'ntk_images' ],
uselib = [ 'X11', 'XFT', 'CAIRO' ],
install_path = '${BINDIR}' )

+ 7
- 2
wscript View File

@@ -443,11 +443,16 @@ src/Fl_Gl_Window.cxx
CFLAGS = ' '.join( CFLAGS ),
BUILD = os.getcwd() + '/' + out )

bld.program(
source = 'src/ntk-chtheme.cxx',
target = 'ntk-chtheme',
use = 'ntk',
# force dynamic linkage to ntk
depends = [ 'ntk' ],
lib = [ 'ntk'] ,
linkflags = '-L.',
# #
uselib = [ 'CAIRO', 'XFT', 'X11' ],
includes = [ '.' ],
install_path = "${BINDIR}" )



Loading…
Cancel
Save