blob: ab9b91f88bc53dc98871b47bc4a69ff981ead2ce [file] [log] [blame]
Brad Bishopc342db32019-05-15 21:57:59 -04001Remove the relative path for libnettle.so so the test
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002program can find it.
3Relative paths are not suitable, as the folder strucure for ptest
4is different from the one expected by the nettle testsuite.
5
6Upstream-Status: Inappropriate [embedded specific]
7
8Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Brad Bishopc342db32019-05-15 21:57:59 -04009Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Andrew Geisslerc182c622020-05-15 14:13:32 -050010---
11 testsuite/dlopen-test.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013
Andrew Geisslerc182c622020-05-15 14:13:32 -050014diff --git a/testsuite/dlopen-test.c b/testsuite/dlopen-test.c
15index 4265bf7..1a25d17 100644
16--- a/testsuite/dlopen-test.c
17+++ b/testsuite/dlopen-test.c
18@@ -15,7 +15,7 @@ int
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019 main (int argc UNUSED, char **argv UNUSED)
20 {
21 #if HAVE_LIBDL
Andrew Geisslerc182c622020-05-15 14:13:32 -050022- void *handle = dlopen ("../libnettle." SO_EXT, RTLD_NOW);
Brad Bishopc342db32019-05-15 21:57:59 -040023+ void *handle = dlopen ("libnettle.so", RTLD_NOW);
Brad Bishopd7bf8c12018-02-25 22:55:05 -050024 int (*get_version)(void);
25 if (!handle)
26 {
Andrew Geisslerc182c622020-05-15 14:13:32 -050027--
282.17.1
29