Show More
@@ -111,6 +111,10 b' class CythonMagics(Magics):' | |||||
111 | help="Extra flags to pass to compiler via the `extra_compile_args` Extension flag (can be specified multiple times)." |
|
111 | help="Extra flags to pass to compiler via the `extra_compile_args` Extension flag (can be specified multiple times)." | |
112 | ) |
|
112 | ) | |
113 | @magic_arguments.argument( |
|
113 | @magic_arguments.argument( | |
|
114 | '-la', '--link-args', action='append', default=[], | |||
|
115 | help="Extra flags to pass to linker via the `extra_link_args` Extension flag (can be specified multiple times)." | |||
|
116 | ) | |||
|
117 | @magic_arguments.argument( | |||
114 | '-l', '--lib', action='append', default=[], |
|
118 | '-l', '--lib', action='append', default=[], | |
115 | help="Add a library to link the extension against (can be specified multiple times)." |
|
119 | help="Add a library to link the extension against (can be specified multiple times)." | |
116 | ) |
|
120 | ) | |
@@ -170,6 +174,7 b' class CythonMagics(Magics):' | |||||
170 | sources = [pyx_file], |
|
174 | sources = [pyx_file], | |
171 | include_dirs = c_include_dirs, |
|
175 | include_dirs = c_include_dirs, | |
172 | extra_compile_args = args.compile_args, |
|
176 | extra_compile_args = args.compile_args, | |
|
177 | extra_link_args = args.link_args, | |||
173 | libraries = args.lib, |
|
178 | libraries = args.lib, | |
174 | ) |
|
179 | ) | |
175 | dist = Distribution() |
|
180 | dist = Distribution() |
General Comments 0
You need to be logged in to leave comments.
Login now