forked from enlightenment/efl
and fix the creation of the shared lib with MinGW.
SVN revision: 28081
This commit is contained in:
parent
9373a62203
commit
7d7d514066
|
@ -22,9 +22,11 @@ AC_CHECK_HEADER(jpeglib.h,, AC_MSG_ERROR("Cannot find jpeglib.h. Make sure your
|
||||||
AC_CHECK_HEADERS(netinet/in.h)
|
AC_CHECK_HEADERS(netinet/in.h)
|
||||||
|
|
||||||
winsock_libs=""
|
winsock_libs=""
|
||||||
|
create_shared_lib=""
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
mingw|mingw32)
|
mingw|mingw32)
|
||||||
winsock_libs="-lwsock32"
|
winsock_libs="-lwsock32"
|
||||||
|
create_shared_lib="-no-undefined "
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ INCLUDES = -I. \
|
||||||
-I$(top_srcdir)/src/lib \
|
-I$(top_srcdir)/src/lib \
|
||||||
-I$(top_srcdir)/src/lib/include
|
-I$(top_srcdir)/src/lib/include
|
||||||
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libeet.la
|
lib_LTLIBRARIES = libeet.la
|
||||||
include_HEADERS = Eet.h
|
include_HEADERS = Eet.h
|
||||||
libeet_la_SOURCES = \
|
libeet_la_SOURCES = \
|
||||||
|
@ -22,4 +21,4 @@ Eet_private.h
|
||||||
|
|
||||||
libeet_la_LIBADD = -lz -ljpeg @fnmatch_libs@ @winsock_libs@
|
libeet_la_LIBADD = -lz -ljpeg @fnmatch_libs@ @winsock_libs@
|
||||||
libeet_la_DEPENDENCIES = $(top_builddir)/config.h
|
libeet_la_DEPENDENCIES = $(top_builddir)/config.h
|
||||||
libeet_la_LDFLAGS = -version-info 9:10:9
|
libeet_la_LDFLAGS = @create_shared_lib@ -version-info 9:10:9
|
||||||
|
|
Loading…
Reference in New Issue