projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
416c8be
)
Allow Spike to build on NetBSD
author
Reinoud Zandijk
<reinoud@netbsd.org>
Mon, 29 Dec 2014 21:06:09 +0000
(13:06 -0800)
committer
Palmer Dabbelt
<palmer@dabbelt.com>
Mon, 29 Dec 2014 21:13:58 +0000
(13:13 -0800)
Under NetBSD, dlopen() is in libc so no extra libs are needed.
spike_main/spike_main.ac
patch
|
blob
|
history
diff --git
a/spike_main/spike_main.ac
b/spike_main/spike_main.ac
index f8d63cee07c5ac5500d3cddd065741be65fa84c1..b913c35288422273d4009b86835293da95badbe4 100644
(file)
--- a/
spike_main/spike_main.ac
+++ b/
spike_main/spike_main.ac
@@
-1
+1,3
@@
-AC_CHECK_LIB(dl, dlopen, [], [AC_MSG_ERROR([libdl is required])])
+AC_SEARCH_LIBS([dlopen], [dl dld], [], [
+ AC_MSG_ERROR([unable to find the dlopen() function])
+])