[gobject-introspection] Windows port: Simplify _giscanner's .pyd file extension handling.
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Windows port: Simplify _giscanner's .pyd file extension handling.
- Date: Wed, 7 Sep 2011 19:41:29 +0000 (UTC)
commit f31cdd28f4842597e9fd8428f7926dfbff25ddd7
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Mon Sep 5 15:54:14 2011 +0200
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 files changed, 2 insertions(+), 14 deletions(-)
---
diff --git a/Makefile-giscanner.am b/Makefile-giscanner.am
index 8ae523f..84fc2b2 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]