Commit c1d72229 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Switch loader to libtool

(it only works on platforms where libtool works anyway)
parent 680d940b
...@@ -4970,11 +4970,11 @@ AM_CONDITIONAL(LOADER, [test "${enable_loader}" = "yes"]) ...@@ -4970,11 +4970,11 @@ AM_CONDITIONAL(LOADER, [test "${enable_loader}" = "yes"])
AS_IF([test "${enable_loader}" = "yes"], AS_IF([test "${enable_loader}" = "yes"],
[ VLC_ADD_PLUGINS([dmo quicktime]) [ VLC_ADD_PLUGINS([dmo quicktime])
VLC_ADD_CPPFLAGS([dmo],[-I../../../@top_srcdir@/loader]) VLC_ADD_CPPFLAGS([dmo],[-I../../../@top_srcdir@/loader])
VLC_ADD_LDFLAGS([dmo],[../../../loader/libloader.a]) VLC_ADD_LDFLAGS([dmo],[../../../loader/libloader.la])
VLC_ADD_CPPFLAGS([quicktime],[-I../../@top_srcdir@/loader]) VLC_ADD_CPPFLAGS([quicktime],[-I../../@top_srcdir@/loader])
VLC_ADD_LDFLAGS([quicktime],[../../loader/libloader.a]) VLC_ADD_LDFLAGS([quicktime],[../../loader/libloader.la])
VLC_ADD_CPPFLAGS([realaudio],[-I../../@top_srcdir@/loader -DLOADER]) VLC_ADD_CPPFLAGS([realaudio],[-I../../@top_srcdir@/loader -DLOADER])
VLC_ADD_LDFLAGS([realaudio],[../../loader/libloader.a]) VLC_ADD_LDFLAGS([realaudio],[../../loader/libloader.la])
]) ])
dnl dnl
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# #
if LOADER if LOADER
noinst_LIBRARIES = libloader.a noinst_LTLIBRARIES = libloader.la
endif endif
# TODO: real check for vsscanf() and <sys/mmap.h> # TODO: real check for vsscanf() and <sys/mmap.h>
...@@ -27,7 +27,7 @@ noinst_HEADERS = com.h driver.h ext.h ldt_keeper.h loader.h registry.h \ ...@@ -27,7 +27,7 @@ noinst_HEADERS = com.h driver.h ext.h ldt_keeper.h loader.h registry.h \
wine/vfw.h wine/winbase.h wine/windef.h wine/winerror.h \ wine/vfw.h wine/winbase.h wine/windef.h wine/winerror.h \
wine/winestring.h wine/winnt.h wine/winreg.h wine/winuser.h wine/winestring.h wine/winnt.h wine/winreg.h wine/winuser.h
libloader_a_SOURCES = ldt_keeper.c pe_image.c module.c ext.c win32.c \ libloader_la_SOURCES = ldt_keeper.c pe_image.c module.c ext.c win32.c \
driver.c pe_resource.c resource.c registry.c afl.c vfl.c \ driver.c pe_resource.c resource.c registry.c afl.c vfl.c \
wrapper.S stubs.s kludge.c wrapper.S stubs.s kludge.c
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