buildsys  Diff

Differences From Artifact [b3b431b7c9]:

To Artifact [94853dfa8d]:


19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dnl

AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
	AC_MSG_CHECKING(wether we need an implib)
	case "$target" in
		*-*-cygwin | *-*-mingw32)
			AC_MSG_RESULT(yes)
			PROG_IMPLIB_NEEDED=1
			PROG_IMPLIB_LDFLAGS='-Wl,-export-all-symbols,--out-implib,lib${PROG}.a'
			;;
		*)
			AC_MSG_RESULT(no)
			PROG_IMPLIB_NEEDED=0
			PROG_IMPLIB_LDFLAGS=''
			;;
	esac
	
	AC_SUBST(PROG_IMPLIB_NEEDED)
	AC_SUBST(PROG_IMPLIB_LDFLAGS)
])







|




|







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dnl

AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
	AC_MSG_CHECKING(wether we need an implib)
	case "$target" in
		*-*-cygwin | *-*-mingw32)
			AC_MSG_RESULT(yes)
			PROG_IMPLIB_NEEDED='yes'
			PROG_IMPLIB_LDFLAGS='-Wl,-export-all-symbols,--out-implib,lib${PROG}.a'
			;;
		*)
			AC_MSG_RESULT(no)
			PROG_IMPLIB_NEEDED='no'
			PROG_IMPLIB_LDFLAGS=''
			;;
	esac
	
	AC_SUBST(PROG_IMPLIB_NEEDED)
	AC_SUBST(PROG_IMPLIB_LDFLAGS)
])