diff options
author | Sam Lantinga <slouken@libsdl.org> | 2012-10-19 21:43:41 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2012-10-19 21:43:41 -0700 |
commit | 9b4b8b20d08fcdfda887063d263bbabc9a58fa9a (patch) | |
tree | a95cf9187b4d15e5c30752ca1fd4fb0cf7869a47 /acinclude | |
parent | 6df7eadc37d3c1f05581bd5f33989a10ed33b77e (diff) |
We have to fix the DLL name convention on Windows every time...
Diffstat (limited to 'acinclude')
-rw-r--r-- | acinclude/libtool.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/acinclude/libtool.m4 b/acinclude/libtool.m4 index 679e4d6d65..c444a5ed05 100644 --- a/acinclude/libtool.m4 +++ b/acinclude/libtool.m4 @@ -2364,13 +2364,15 @@ cygwin* | mingw* | pw32* | cegcc*) case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' - soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + #soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + soname_spec='`echo ${libname} | sed -e 's/^lib//'`${shared_ext}' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix - soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + #soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' + soname_spec='`echo ${libname} | $SED -e 's/^lib//'`${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' |