(Source List) RegionFactory should return an empty region here.
[ardour.git] / libs / widgets / wscript
index 0559abe4dc1b3fc136ce4713d74e064069c54e1c..0ddd0148d96725586a9e2e6c598419b21cacc14f 100644 (file)
@@ -34,12 +34,10 @@ widgets_sources = [
         'ardour_knob.cc',
         'ardour_spacer.cc',
         'ardour_spinner.cc',
-        'auto_spin.cc',
         'barcontroller.cc',
         'binding_proxy.cc',
         'eventboxext.cc',
         'choice.cc',
-        'click_box.cc',
         'fastmeter.cc',
         'focus_entry.cc',
         'pane.cc',
@@ -71,8 +69,8 @@ def build(bld):
         obj.defines      = [ 'LIBWIDGETS_DLL_EXPORTS=1' ]
     else:
         obj = bld.stlib(features = 'cxx cxxstlib', source=widgets_sources)
-        obj.cxxflags     = [ '-fPIC' ]
-        obj.cflags       = [ '-fPIC' ]
+        obj.cxxflags = [  bld.env['compiler_flags_dict']['pic'] ]
+        obj.cflags = [ bld.env['compiler_flags_dict']['pic'] ]
         obj.defines      = [ ]
 
     obj.export_includes = ['.']