Switch loader to libtool

(it only works on platforms where libtool works anyway)
This commit is contained in:
Rémi Denis-Courmont 2006-03-25 14:43:43 +00:00
parent 680d940b75
commit c1d72229b3
2 changed files with 5 additions and 5 deletions

View File

@ -4970,11 +4970,11 @@ AM_CONDITIONAL(LOADER, [test "${enable_loader}" = "yes"])
AS_IF([test "${enable_loader}" = "yes"],
[ VLC_ADD_PLUGINS([dmo quicktime])
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_LDFLAGS([quicktime],[../../loader/libloader.a])
VLC_ADD_LDFLAGS([quicktime],[../../loader/libloader.la])
VLC_ADD_CPPFLAGS([realaudio],[-I../../@top_srcdir@/loader -DLOADER])
VLC_ADD_LDFLAGS([realaudio],[../../loader/libloader.a])
VLC_ADD_LDFLAGS([realaudio],[../../loader/libloader.la])
])
dnl

View File

@ -10,7 +10,7 @@
#
if LOADER
noinst_LIBRARIES = libloader.a
noinst_LTLIBRARIES = libloader.la
endif
# 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 \
wine/vfw.h wine/winbase.h wine/windef.h wine/winerror.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 \
wrapper.S stubs.s kludge.c