Index: build.sh ================================================================== --- build.sh +++ build.sh @@ -268,11 +268,11 @@ report ranlib $to/libk.a fi if test $build_shared_library == yes; then report ld -r ${rt_objects[@]} -o $to/boot.o - report ld -shared ${fn_objects[@]} -o $to/libk.so + report ld -shared ${fn_objects[@]} ${data_objects[@]} -o $to/libk.so fi # fifth pass: compile the executable tools # against the libraries created in pass 5