Skip to content

Commit

Permalink
Fix #154 Remove 'INCLUDE_TYPE_MODULE' definitions
Browse files Browse the repository at this point in the history
The shared library and modules (with '[ModuleInit]') cannot be the same,
because they don't have the same initialization strategy for registering
'GObject' types.

It will have to be solved with #130.
  • Loading branch information
arteymix committed Feb 4, 2016
1 parent 05cd98c commit 5e10ef1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/vsgi-fastcgi/wscript
Expand Up @@ -14,7 +14,6 @@ def build(bld):
source = 'vsgi-fastcgi.vala', source = 'vsgi-fastcgi.vala',
use = 'vsgi-cgi', use = 'vsgi-cgi',
uselib = 'GIOUNIX GTHREAD FCGI', uselib = 'GIOUNIX GTHREAD FCGI',
vala_defines = 'INCLUDE_TYPE_MODULE',
vapi_dirs = '.', vapi_dirs = '.',
header_path = '${INCLUDEDIR}/vsgi', header_path = '${INCLUDEDIR}/vsgi',
install_path = '${LIBDIR}') install_path = '${LIBDIR}')
Expand Down
1 change: 0 additions & 1 deletion src/vsgi-http/wscript
Expand Up @@ -10,7 +10,6 @@ def build(bld):
gir = 'VSGI.HTTP-{}'.format(Context.g_module.API_VERSION), gir = 'VSGI.HTTP-{}'.format(Context.g_module.API_VERSION),
source = 'vsgi-http.vala', source = 'vsgi-http.vala',
use = 'vsgi', use = 'vsgi',
vala_defines = 'INCLUDE_TYPE_MODULE',
header_path = '${INCLUDEDIR}/vsgi', header_path = '${INCLUDEDIR}/vsgi',
install_path = '${LIBDIR}') install_path = '${LIBDIR}')


Expand Down
1 change: 0 additions & 1 deletion src/vsgi-scgi/wscript
Expand Up @@ -10,7 +10,6 @@ def build(bld):
gir = 'VSGI.SCGI-{}'.format(Context.g_module.API_VERSION), gir = 'VSGI.SCGI-{}'.format(Context.g_module.API_VERSION),
source = 'vsgi-scgi.vala', source = 'vsgi-scgi.vala',
use = 'vsgi-cgi', use = 'vsgi-cgi',
vala_defines = 'INCLUDE_TYPE_MODULE',
header_path = '${INCLUDEDIR}/vsgi', header_path = '${INCLUDEDIR}/vsgi',
install_path = '${LIBDIR}') install_path = '${LIBDIR}')


Expand Down

0 comments on commit 5e10ef1

Please sign in to comment.