mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
24 lines
860 B
Plaintext
24 lines
860 B
Plaintext
$NetBSD: patch-aa,v 1.3 2012/05/28 18:38:18 asau Exp $
|
|
|
|
Missing RPATH support.
|
|
|
|
--- opal/tools/wrappers/opal_wrapper.c.orig 2011-12-14 05:43:59.000000000 +0400
|
|
+++ opal/tools/wrappers/opal_wrapper.c 2012-02-16 18:10:03.000000000 +0400
|
|
@@ -61,6 +61,7 @@
|
|
#else
|
|
#define OPAL_INCLUDE_FLAG "-I"
|
|
#define OPAL_LIBDIR_FLAG "-L"
|
|
+#define OPAL_RPATH_FLAG "-R"
|
|
#endif /* !defined(__WINDOWS__) && defined(_MSC_VER) */
|
|
|
|
struct options_data_t {
|
|
@@ -363,6 +364,8 @@
|
|
#else
|
|
asprintf(&line, OPAL_LIBDIR_FLAG"%s",
|
|
options_data[parse_options_idx].path_libdir);
|
|
+ asprintf(&line, OPAL_RPATH_FLAG"%s",
|
|
+ options_data[parse_options_idx].path_libdir);
|
|
#endif /* defined(__WINDOWS__) */
|
|
opal_argv_append_nosize(&options_data[parse_options_idx].link_flags, line);
|
|
free(line);
|