Skip to content
Snippets Groups Projects
Commit b3493ee58f82 authored by ludal's avatar ludal
Browse files

remove link with gecodesupport and fix build on ubuntu hardy

parent 3c7b00c2f44b
No related branches found
No related tags found
No related merge requests found
......@@ -52,11 +52,10 @@
if sys.platform != 'win32':
ext_modules = [Extension('rql_solve',
['gecode_solver.cpp'],
libraries=['gecodeint', 'gecodekernel',
'gecodesearch','gecodesupport'],
libraries=['gecodeint', 'gecodekernel', 'gecodesearch',],
extra_compile_args=['-DGE_VERSION=%s' % GECODE_VERSION],
)
]
else:
ext_modules = [ Extension('rql_solve',
['gecode_solver.cpp'],
......@@ -57,11 +56,10 @@
extra_compile_args=['-DGE_VERSION=%s' % GECODE_VERSION],
)
]
else:
ext_modules = [ Extension('rql_solve',
['gecode_solver.cpp'],
libraries=['gecodeint', 'gecodekernel',
'gecodesearch','gecodesupport'],
libraries=['gecodeint', 'gecodekernel', 'gecodesearch',],
extra_compile_args=['-DGE_VERSION=%s' % GECODE_VERSION],
extra_link_args=['-static-libgcc'],
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment