]> git.sesse.net Git - vlc/commitdiff
Revert "Generate .def files with gendef"
authorRafaël Carré <funman@videolan.org>
Thu, 4 Apr 2013 15:47:53 +0000 (17:47 +0200)
committerRafaël Carré <funman@videolan.org>
Thu, 4 Apr 2013 15:47:53 +0000 (17:47 +0200)
This reverts commit d49e2ef6ace0de681ca3c5afea5751699908e877.

configure.ac
extras/package/win32/package.mak

index b5298fc9e4d74840fc22c0236ee9bd134cd03a83..9a6076b0044fcb8a8221b7fbe64b63d6621bea08 100644 (file)
@@ -204,10 +204,6 @@ case "${host_os}" in
   *mingw32* | *cygwin* | *wince* | *mingwce*)
     AC_CHECK_TOOL(WINDRES, windres, :)
     AC_CHECK_TOOL(OBJCOPY, objcopy, :)
-    AC_PATH_PROGS(GENDEF,[${GENDEF} gendef], [false])
-    AS_IF([test "${GENDEF}" = "false"], [
-        AC_MSG_ERROR([Could not find gendef.])
-    ])
     AH_TOP([#if defined(WIN32) && !defined(_WIN32_WINNT)])
     AH_TOP([# define _WIN32_WINNT 0x0502 /* Windows XP SP2 */])
     AH_TOP([#endif])
index 28e3d038077bbffd2f9c074b56b3dc238cba1c85..564a33cc1e34fdbda45d45e18ecf82c6321a78bf 100644 (file)
@@ -74,10 +74,8 @@ endif
        cp -r $(prefix)/include "$(win32_destdir)/sdk"
        cp -r $(prefix)/lib/pkgconfig "$(win32_destdir)/sdk/lib"
        cd $(prefix)/lib && cp -rv libvlc.dll.a libvlc.la libvlccore.dll.a libvlccore.la "$(win32_destdir)/sdk/lib/"
-       cd "$(prefix)/bin" && $(GENDEF) "libvlc.dll"
-       $(DLLTOOL) -D libvlc.dll -l "$(win32_destdir)/sdk/lib/libvlc.lib" -d "$(prefix)/bin/libvlc.def" "$(prefix)/bin/libvlc.dll"
-       cd "$(prefix)/bin" && $(GENDEF) "libvlccore.dll"
-       $(DLLTOOL) -D libvlccore.dll -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(prefix)/bin/libvlccore.def" "$(prefix)/bin/libvlccore.dll"
+       $(DLLTOOL) -D libvlc.dll -l "$(win32_destdir)/sdk/lib/libvlc.lib" -d "$(top_builddir)/lib/.libs/libvlc.dll.def" "$(prefix)/bin/libvlc.dll"
+       $(DLLTOOL) -D libvlccore.dll -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(top_builddir)/src/.libs/libvlccore.dll.def" "$(prefix)/bin/libvlccore.dll"
 
        mkdir -p "$(win32_destdir)/sdk/activex/"
        cd $(top_builddir)/npapi-vlc && cp activex/README.TXT share/test/test.html $(win32_destdir)/sdk/activex/