From: Alon Bar-L. <alo...@gm...> - 2009-12-23 14:05:33
|
Hello, Just an idea... I had to add pdh.def into current build. Steps: 1. Add pdh.def into mingw-w64-crt/lib32 2. Add the following to mingw-w64-crt/Makefile.am cat << __EOF__ >> mingw-w64-crt/Makefile.am if LIB32 lib32_SCRIPTS += lib32/libpdh.a endif __EOF__ 3. Do autoreconf It would be great if this process was much simpler... Add pdh.def into mingw-w64-crt/lib32 and that's it. Of course this applies for "simple" defs. It can be done easily using autoconf... It can do something like: autoconf: --- LIB32_LIBS="$(echo $((cd mingw-w64-crt && find lib32 -name '*.def' ) | sed 's#\([^/]*\)\.def#lib\1.a#'))" AC_SUBST([LIB32_LIBS]) --- automake: --- lib32_SCRIPTS = @LIB32_LIBS@ --- What do you think? Alon. |