]> granicus.if.org Git - yasm/commit
Make yasm dynamic module loader able to find modules even when run from a
authorPeter Johnson <peter@tortall.net>
Sat, 7 Feb 2004 22:28:40 +0000 (22:28 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 7 Feb 2004 22:28:40 +0000 (22:28 -0000)
commit7769e56bec76746bad9a9ea5d639585837728e09
tree2eae82d4bfdefba8a2acf792189c644fc77b6e8c
parenta4996c06c66d6f06fec27eadcb0f651bb896a4a7
Make yasm dynamic module loader able to find modules even when run from a
different location.  The new code uses dirname() to add the argv[0] path to
the LTDL module loader search path.  Added new replacements for dirname and
basename functions from OpenBSD.

Bugzilla: Bug 24
Reported by: Simon Paulger <simonjpaulger@hotmail.com>

svn path=/trunk/yasm/; revision=1098
basename.c [new file with mode: 0644]
configure.ac
dirname.c [new file with mode: 0644]
frontends/yasm/yasm-module.c
frontends/yasm/yasm.c