Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
440ff6db
Commit
440ff6db
authored
Feb 12, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added version scripts for libwine and libwine_unicode.
parent
cac7e22f
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
176 additions
and
1 deletion
+176
-1
configure
configure
+63
-0
configure.ac
configure.ac
+10
-0
Makelib.rules.in
libs/Makelib.rules.in
+1
-1
Makefile.in
libs/unicode/Makefile.in
+1
-0
wine_unicode.map
libs/unicode/wine_unicode.map
+29
-0
Makefile.in
libs/wine/Makefile.in
+1
-0
wine.map
libs/wine/wine.map
+71
-0
No files found.
configure
View file @
440ff6db
...
...
@@ -13670,6 +13670,69 @@ _ACEOF
LDDLL
=
"
$LDDLL
,-init,__wine_spec_init,-fini,__wine_spec_fini"
fi
echo
"
$as_me
:
$LINENO
: checking whether the linker accepts version scripts"
>
&5
echo
$ECHO_N
"checking whether the linker accepts version scripts...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_ld_version_scripts
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
echo
'{ global: *; };'
>
conftest.map
ac_wine_try_cflags_saved
=
$CFLAGS
CFLAGS
=
"
$CFLAGS
-fPIC -shared -Wl,--version-script=conftest.map"
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
int
main ()
{
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
(
eval
$ac_link
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
&&
{
ac_try
=
'test -s conftest$ac_exeext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_c_ld_version_scripts
=
"yes"
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_c_ld_version_scripts
=
"no"
fi
rm
-f
conftest.err conftest.
$ac_objext
\
conftest
$ac_exeext
conftest.
$ac_ext
CFLAGS
=
$ac_wine_try_cflags_saved
rm
-f
conftest.map
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_c_ld_version_scripts
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_c_ld_version_scripts
"
>
&6
if
test
"
$ac_cv_c_ld_version_scripts
"
=
"yes"
then
LDSHARED
=
"
$LDSHARED
\$
(VERSCRIPT:%=-Wl,--version-script=%)"
fi
echo
"
$as_me
:
$LINENO
: checking whether the linker accepts --export-dynamic"
>
&5
echo
$ECHO_N
"checking whether the linker accepts --export-dynamic...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_c_export_dynamic
+set
}
"
=
set
;
then
...
...
configure.ac
View file @
440ff6db
...
...
@@ -869,6 +869,16 @@ case $host_os in
LDDLL="$LDDLL,-init,__wine_spec_init,-fini,__wine_spec_fini"
fi
AC_CACHE_CHECK([whether the linker accepts version scripts], ac_cv_c_ld_version_scripts,
[echo '{ global: *; };' >conftest.map
WINE_TRY_CFLAGS([-fPIC -shared -Wl,--version-script=conftest.map],
ac_cv_c_ld_version_scripts="yes",ac_cv_c_ld_version_scripts="no")
rm -f conftest.map])
if test "$ac_cv_c_ld_version_scripts" = "yes"
then
LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
fi
AC_CACHE_CHECK([whether the linker accepts --export-dynamic], ac_cv_c_export_dynamic,
[WINE_TRY_CFLAGS([-fPIC -Wl,--export-dynamic],
ac_cv_c_export_dynamic="yes",ac_cv_c_export_dynamic="no")])
...
...
libs/Makelib.rules.in
View file @
440ff6db
...
...
@@ -19,7 +19,7 @@ all: $(MODULE) $(MODULE:.dll=.a)
@MAKE_RULES@
$(LIBNAME).so.$(SOVERSION): $(OBJS) Makefile.in
$(LIBNAME).so.$(SOVERSION): $(OBJS)
$(VERSCRIPT)
Makefile.in
$(LDSHARED) $(OBJS) $(EXTRALIBS) $(LDFLAGS) $(LIBS) -o $@
$(LIBNAME).so: $(LIBNAME).so.$(SOVERSION)
...
...
libs/unicode/Makefile.in
View file @
440ff6db
...
...
@@ -4,6 +4,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
LIBRARY
=
wine_unicode
SOVERSION
=
1
VERSCRIPT
=
$(SRCDIR)
/wine_unicode.map
EXTRADEFS
=
-D__WINESRC__
-DNO_LIBWINE_PORT
-DWINE_UNICODE_API
=
""
CODEPAGES
=
\
...
...
libs/unicode/wine_unicode.map
0 → 100644
View file @
440ff6db
WINE_1.0
{
global:
snprintfW;
sprintfW;
strcmpiW;
strncmpiW;
strstrW;
strtolW;
strtoulW;
vsnprintfW;
vsprintfW;
wine_casemap_lower;
wine_casemap_upper;
wine_compare_string;
wine_cp_enum_table;
wine_cp_get_table;
wine_cp_mbstowcs;
wine_cp_wcstombs;
wine_cpsymbol_mbstowcs;
wine_cpsymbol_wcstombs;
wine_fold_string;
wine_get_sortkey;
wine_utf8_mbstowcs;
wine_utf8_wcstombs;
wine_wctype_table;
local: *;
};
libs/wine/Makefile.in
View file @
440ff6db
...
...
@@ -4,6 +4,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
LIBRARY
=
wine
SOVERSION
=
1
VERSCRIPT
=
$(SRCDIR)
/wine.map
EXTRADEFS
=
-D__WINESRC__
-DBINDIR
=
"
\"
$(bindir)
\"
"
-DDLLDIR
=
"
\"
$(dlldir)
\"
"
EXTRALIBS
=
$(LIBPORT)
@DLLIBS@ @CRTLIBS@
...
...
libs/wine/wine.map
0 → 100644
View file @
440ff6db
WINE_1.0
{
global:
__wine_dbg_register;
__wine_dbg_unregister;
__wine_dbg_vlog;
__wine_dbg_vprintf;
__wine_dbg_vsprintf;
__wine_dbgstr_an;
__wine_dbgstr_wn;
__wine_dll_register;
__wine_main_argc;
__wine_main_argv;
__wine_main_environ;
__wine_main_wargv;
wine_anon_mmap;
wine_dbg_add_option;
wine_dbg_log;
wine_dbg_parse_options;
wine_dbg_printf;
wine_dbg_sprintf;
wine_dbgstr_a;
wine_dbgstr_an;
wine_dbgstr_w;
wine_dbgstr_wn;
wine_dlclose;
wine_dll_get_owner;
wine_dll_load;
wine_dll_load_main_exe;
wine_dll_set_callback;
wine_dll_unload;
wine_dlopen;
wine_dlsym;
wine_exec_wine_binary;
wine_free_pe_load_area;
wine_get_config_dir;
wine_get_cs;
wine_get_ds;
wine_get_es;
wine_get_fs;
wine_get_gs;
wine_get_server_dir;
wine_get_ss;
wine_get_user_name;
wine_init;
wine_init_argv0_path;
wine_ldt_alloc_entries;
wine_ldt_alloc_fs;
wine_ldt_copy;
wine_ldt_free_entries;
wine_ldt_free_fs;
wine_ldt_get_entry;
wine_ldt_get_ptr;
wine_ldt_init_fs;
wine_ldt_init_locking;
wine_ldt_is_system;
wine_ldt_realloc_entries;
wine_ldt_set_entry;
wine_pthread_abort_thread;
wine_pthread_create_thread;
wine_pthread_exit_thread;
wine_pthread_init_current_teb;
wine_pthread_init_process;
wine_pthread_init_thread;
wine_set_fs;
wine_set_gs;
wine_set_pe_load_area;
wine_switch_to_stack;
local: *;
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment