Kaydet (Commit) c3e55a1f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Hard-code the path to libgetuid.so in epmfile.pm

...so that it is still found after 7b3133ad
"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
üst e8176a5d
......@@ -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) \
))
......
......@@ -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';
}
#################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment