From f31cdd28f4842597e9fd8428f7926dfbff25ddd7 Mon Sep 17 00:00:00 2001 From: Dieter Verfaillie Date: Mon, 5 Sep 2011 15:54:14 +0200 Subject: Windows port: Simplify _giscanner's .pyd file extension handling. By simply using -shrext ".pyd". https://bugzilla.gnome.org/show_bug.cgi?id=620566 --- Makefile-giscanner.am | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Makefile-giscanner.am b/Makefile-giscanner.am index 8ae523f6..84fc2b2d 100644 --- a/Makefile-giscanner.am +++ b/Makefile-giscanner.am @@ -65,20 +65,8 @@ _giscanner_la_LDFLAGS = \ if OS_WIN32 _giscanner_la_LDFLAGS += \ - -no-undefined + -no-undefined \ + -shrext ".pyd" endif _giscanner_la_SOURCES = giscanner/giscannermodule.c - -if OS_WIN32 -BUILT_SOURCES += _giscanner.pyd -CLEANFILES += _giscanner.pyd - -_giscanner.pyd: _giscanner.la - cp .libs/_giscanner.dll $@ - -install-exec-hook: - mv $(pkgpyexecdir)/_giscanner.dll $(pkgpyexecdir)/_giscanner.pyd - rm $(pkgpyexecdir)/_giscanner.dll.a - rm $(pkgpyexecdir)/_giscanner.la -endif -- cgit v1.2.1