@@ -32,7 +32,9 @@ def build(bld): | |||||
''', | ''', | ||||
target='ntk-fluid', | target='ntk-fluid', | ||||
includes = [ '.', '../' ], | includes = [ '.', '../' ], | ||||
use = [ 'ntk', 'ntk_images' ], | |||||
linkflags = '-L.', | |||||
depends = [ 'ntk', 'ntk_images' ], | |||||
lib = [ 'ntk', 'ntk_images' ], | |||||
uselib = [ 'X11', 'XFT', 'CAIRO' ], | uselib = [ 'X11', 'XFT', 'CAIRO' ], | ||||
install_path = '${BINDIR}' ) | install_path = '${BINDIR}' ) | ||||
@@ -443,11 +443,16 @@ src/Fl_Gl_Window.cxx | |||||
CFLAGS = ' '.join( CFLAGS ), | CFLAGS = ' '.join( CFLAGS ), | ||||
BUILD = os.getcwd() + '/' + out ) | BUILD = os.getcwd() + '/' + out ) | ||||
bld.program( | bld.program( | ||||
source = 'src/ntk-chtheme.cxx', | source = 'src/ntk-chtheme.cxx', | ||||
target = 'ntk-chtheme', | target = 'ntk-chtheme', | ||||
use = 'ntk', | |||||
# force dynamic linkage to ntk | |||||
depends = [ 'ntk' ], | |||||
lib = [ 'ntk'] , | |||||
linkflags = '-L.', | |||||
# # | |||||
uselib = [ 'CAIRO', 'XFT', 'X11' ], | |||||
includes = [ '.' ], | includes = [ '.' ], | ||||
install_path = "${BINDIR}" ) | install_path = "${BINDIR}" ) | ||||