Commit 1989edb8 authored by John Doe's avatar John Doe Committed by Ano Nymous
Browse files

Build shared library on windows

Call AC_LIBTOOL_WIN32_DLL macro
See http://sourceware.org/autobook/autobook/autobook_254.html

Hack lt_cv_deplibs_check_method to allow linking static libraries
inside a shared library
(Hack comes from VLC)
parent a2ed690b
????-??-??:
- Fixed building Win32 DLL
- Fixed segfault when mount point path can't be resolved
- Do not export internal symbols from generated parser/lexer
- Do not distribute generated parser files
......
......@@ -79,9 +79,16 @@ AC_ARG_ENABLE([debug],
[use_debug=$enableval],
[use_debug=yes])
dnl override platform specific check for dependent libraries
dnl otherwise libtool linking of shared libraries will
dnl fail on anything other than pass_all.
AC_CACHE_VAL(lt_cv_deplibs_check_method,
[lt_cv_deplibs_check_method=pass_all])
# required programs
AC_PROG_CC
AC_PROG_LIBTOOL
AC_LIBTOOL_WIN32_DLL
AM_PROG_LEX
AC_PROG_YACC
......
......@@ -52,7 +52,7 @@ endif
libaacs_ladir= $(includedir)/libaacs
libaacs_la_HEADERS= libaacs/aacs.h file/filesystem.h libaacs/aacs-version.h
libaacs_la_LDFLAGS= -version-info $(LIB_VERSION_INFO)
libaacs_la_LDFLAGS= -no-undefined -version-info $(LIB_VERSION_INFO)
libaacs_la_LIBADD = $(LIBGCRYPT_LIBS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libaacs.pc
......
Supports Markdown
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