diff -Nurp non-ntk-20130713.orig/wscript non-ntk-20130713.mod/wscript --- non-ntk-20130713.orig/wscript 2013-07-20 15:40:28.000000000 +0200 +++ non-ntk-20130713.mod/wscript 2013-08-15 08:02:24.439092572 +0200 @@ -28,7 +28,7 @@ out = 'build' children = [ 'fluid', 'test' ] #children = [] -CFLAGS = [ '-pthread', +CFLAGS = [ '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64' ] @@ -218,7 +218,7 @@ def configure(conf): print('') def build(bld): - + bld.env.append_value('LINKFLAGS','-Wl,--as-needed') bld.makelib( source = ''' src/Fl_Cairo_Graphics_Driver.cxx src/Fl.cxx @@ -408,7 +408,7 @@ src/Fl_Gl_Overlay.cxx src/Fl_Gl_Window.cxx ''', target = 'ntk_gl', - uselib = [ 'X11', 'DL', 'M', 'PTHREAD', 'GL'] ) + uselib = [ 'X11', 'DL', 'M', 'GL'] ) bld( features = 'subst', source = 'ntk.pc.in', @@ -513,7 +513,7 @@ src/Fl_Gl_Window.cxx bld.install_files( bld.env.INCLUDEDIR + '/ntk/FL', start_dir.ant_glob('*.H *.h'), cwd=start_dir, relative_trick=True) - bld.add_post_fun( run_ldconfig ) + # bld.add_post_fun( run_ldconfig ) # bld.install_files( string.join( [ '${DATADIR}/doc', APPNAME ], '/' ), bld.path.ant_glob( 'doc/*.html doc/*.png' ) )