Compile gzstream as position independent code
use the PIC version of date for shared libs...oops
Import('main')
-main.Library('gzstream', [File('gzstream.cc')])
+main.Library('gzstream', [main.SharedObject('gzstream.cc')])
main.Prepend(CPPPATH=Dir('.'))
main.Append(LIBS=['gzstream'])
static_objs.append(static_date)
shared_date = make_obj(date_source, static=False, extra_deps=shared_objs)
- shared_objs.append(static_date)
+ shared_objs.append(shared_date)
# First make a library of everything but main() so other programs can
# link against m5.