qt5: load nic_drv without dynamic linker on Linux

Fixes #2982
This commit is contained in:
Christian Prochaska 2018-07-10 17:28:39 +02:00 committed by Christian Helmuth
parent 5dcf06d208
commit 1f5a083129
1 changed files with 7 additions and 1 deletions

View File

@ -244,8 +244,14 @@ proc drivers_start_nodes { feature_arg } {
}
}
# don't use the dynamic linker for loading the lx_hybrid nic_drv on Linux
proc nic_drv_ld_attr {} {
if {[have_spec linux]} { return {ld="no"} }
return ""
}
append_if [use_nic_drv feature] start_nodes {
<start name="nic_drv">
<start name="nic_drv" } [nic_drv_ld_attr] {>
<binary name="} [nic_drv_binary] {"/>
<resource name="RAM" quantum="8M"/>
<provides><service name="Nic"/></provides>