diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2011-09-05 15:54:14 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2011-09-07 21:38:18 +0200 |
commit | f31cdd28f4842597e9fd8428f7926dfbff25ddd7 (patch) | |
tree | 5eb4c0abe2166f10c4db46ded9ae1808fd57b45a /Makefile-giscanner.am | |
parent | a7cd6bf0602ebb519a5f71abf933ed1e54e0c482 (diff) | |
download | gobject-introspection-f31cdd28f4842597e9fd8428f7926dfbff25ddd7.tar.gz |
Windows port: Simplify _giscanner's .pyd file extension handling.
By simply using -shrext ".pyd".
https://bugzilla.gnome.org/show_bug.cgi?id=620566
Diffstat (limited to 'Makefile-giscanner.am')
-rw-r--r-- | Makefile-giscanner.am | 16 |
1 files 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 |