diff options
-rw-r--r-- | Repository.mk | 2 | ||||
-rw-r--r-- | solenv/bin/modules/installer/epmfile.pm | 12 |
2 files changed, 3 insertions, 11 deletions
diff --git a/Repository.mk b/Repository.mk index 9b688ac6b7a5..ac07ba14cee5 100644 --- a/Repository.mk +++ b/Repository.mk @@ -439,6 +439,7 @@ $(eval $(call gb_Helper_register_libraries,OOOLIBS, \ endif $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \ + getuid \ smoketest \ subsequenttest \ test \ @@ -496,7 +497,6 @@ $(eval $(call gb_Helper_register_libraries,PLAINLIBS_NONE, \ )) $(eval $(call gb_Helper_register_libraries,PLAINLIBS_URE, \ $(if $(filter MSC,$(COM)),cli_uno) \ - getuid \ jpipe \ $(if $(filter WNT,$(OS)),jpipx) \ )) 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'; } ################################################# |