diff options
-rw-r--r-- | setup_native/Library_getuid.mk | 8 | ||||
-rw-r--r-- | solenv/bin/modules/installer/download.pm | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/setup_native/Library_getuid.mk b/setup_native/Library_getuid.mk index 764128dcb96a..fa98773f4d06 100644 --- a/setup_native/Library_getuid.mk +++ b/setup_native/Library_getuid.mk @@ -14,6 +14,14 @@ $(eval $(call gb_Library_add_defs,getuid,\ -D_GNU_SOURCE \ )) endif + +# the library is used by LD_PRELOAD; make sure that we see the symbols ;-) +ifeq ($(COM),GCC) +$(eval $(call gb_Library_add_cflags,getuid,\ + -fvisibility=default \ +)) +endif + $(eval $(call gb_Library_add_cobjects,getuid,\ setup_native/scripts/source/getuid \ )) diff --git a/solenv/bin/modules/installer/download.pm b/solenv/bin/modules/installer/download.pm index 408dc3680521..6f83943d7ad7 100644 --- a/solenv/bin/modules/installer/download.pm +++ b/solenv/bin/modules/installer/download.pm @@ -194,7 +194,7 @@ sub get_path_for_library { my ($includepatharrayref) = @_; - my $getuidlibraryname = "getuid.so"; + my $getuidlibraryname = "libgetuid.so"; my $getuidlibraryref = ""; |