summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-08 12:32:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-08 12:35:15 +0100
commitc3e55a1f3b88fd53d13f563a4116d588643c34d7 (patch)
tree87e6c9cc5ba568f7369d4f763e97f955bdbf2ad7 /solenv
parente8176a5d487fe539fb91fa889a8cf2d710913b29 (diff)
Hard-code the path to libgetuid.so in epmfile.pm
...so that it is still found after 7b3133ad882b24834f87b478d00bf4ee92d3cd63 "instsetoo_native: shouldn't need instdir in include path." And no idea why getuid was in PLAINLIBS_URE instead of PLAINLIBS_NONE. Change-Id: I5de2a79cbd3c0064cd7776e269f4792304ec34e3
Diffstat (limited to 'solenv')
-rw-r--r--solenv/bin/modules/installer/epmfile.pm12
1 files changed, 2 insertions, 10 deletions
diff --git a/solenv/bin/modules/installer/epmfile.pm b/solenv/bin/modules/installer/epmfile.pm
index c386465d1289..c81ac9910e1a 100644
--- a/solenv/bin/modules/installer/epmfile.pm
+++ b/solenv/bin/modules/installer/epmfile.pm
@@ -794,16 +794,8 @@ sub set_patch_state
sub get_ld_preload_string
{
- my ($includepatharrayref) = @_;
-
- my $getuidlibraryname = "libgetuid.so";
-
- my $getuidlibraryref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$getuidlibraryname, $includepatharrayref, 0);
- if ($$getuidlibraryref eq "") { installer::exiter::exit_program("ERROR: Could not find $getuidlibraryname!", "get_ld_preload_string"); }
-
- my $ldpreloadstring = "LD_PRELOAD=" . $$getuidlibraryref;
-
- return $ldpreloadstring;
+ return 'LD_PRELOAD=' . $ENV{'WORKDIR'}
+ . '/CustomTarget/setup_native/libgetuid.so';
}
#################################################