Kaydet (Commit) 09eabcfd authored tarafından Michael Stahl's avatar Michael Stahl

fdo#42865: shell: no mapfile

In order to not have the offending local _ZNSs4_Rep20_S_empty_rep_storageE
symbol in librecentfile.so, build it with hidden visibility.
üst a9da5a0b
......@@ -30,6 +30,7 @@ PRJ=..$/..
PRJNAME=shell
TARGET=xmlparser
ENABLE_EXCEPTIONS=TRUE
VISIBILITY_HIDDEN = TRUE
# --- Settings -----------------------------------------------------
......
......@@ -31,6 +31,7 @@ PRJNAME=shell
TARGET=sysshell
LIBTARGET=NO
ENABLE_EXCEPTIONS=TRUE
VISIBILITY_HIDDEN = TRUE
# --- Settings -----------------------------------------------------
......@@ -52,9 +53,9 @@ SHL1TARGET=recentfile
SHL1STDLIBS=$(EXPATASCII3RDLIB)\
$(SALLIB)
SHL1USE_EXPORTS = name
SHL1LIBS=$(SLB)$/xmlparser.lib
SHL1OBJS=$(SLOFILES)
SHL1VERSIONMAP=recfile.map
.ELSE
......
......@@ -495,7 +495,9 @@ namespace /* private */ {
</RecentFiles>
*/
extern "C" void add_to_recently_used_file_list(const rtl::OUString& file_url, const rtl::OUString& mime_type)
extern "C" SAL_DLLPUBLIC_EXPORT
void add_to_recently_used_file_list(const rtl::OUString& file_url,
const rtl::OUString& mime_type)
{
try
{
......
UDK_3_0_0 {
global:
add_to_recently_used_file_list;
local:
*;
};
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