File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,14 @@ if env['python_package'] == 'full':
24
24
# Cantera.mak include file for Makefile projects
25
25
# cantera.pc for use with pkg-config
26
26
27
- pc_libs = []
27
+ pc_libs = list ( localenv [ 'cantera_libs' ])
28
28
pc_libdirs = []
29
29
pc_incdirs = []
30
30
pc_cflags = []
31
31
32
32
localenv ['mak_corelibs' ] = '-lcantera'
33
33
if not env ['single_library' ]:
34
34
localenv ['mak_corelibs' ] += ' -lctmath -lexecstream'
35
- pc_libs .append ('execstream' )
36
35
37
36
if env ['use_sundials' ] == 'n' :
38
37
localenv ['mak_sundials_libs' ] = '-lcvode'
42
41
# Add links to the sundials environment
43
42
localenv ['mak_sundials_libs' ] = ' ' .join ('-l%s' % s
44
43
for s in localenv ['sundials_libs' ])
45
- pc_libs += localenv ['sundials_libs' ]
46
44
if localenv ['sundials_libdir' ]:
47
45
localenv ['mak_sundials_libdir' ] = '-L' + localenv ['sundials_libdir' ]
48
46
pc_libdirs .append (localenv ['sundials_libdir' ])
@@ -75,7 +73,6 @@ localenv['mak_have_blas_lapack_dir'] = '1' if localenv['blas_lapack_dir'] else '
75
73
76
74
if localenv ['blas_lapack_dir' ]:
77
75
localenv ['mak_blas_lapack_libs' ] = ' ' .join ('-l%s' % s for s in localenv ['blas_lapack_libs' ])
78
- pc_libs += localenv ['blas_lapack_libs' ]
79
76
elif not env ['single_library' ]:
80
77
localenv ['mak_blas_lapack_libs' ] = ('-L' + '$inst_libdir' + ' -lctlapack -lctblas' )
81
78
else :
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ Description: Cantera library
8
8
URL: http://cantera.googlecode.com
9
9
Version: @cantera_version@
10
10
11
- Libs: -L${libdir} @pc_libdirs@ -lcantera @pc_libs@
11
+ Libs: -L${libdir} @pc_libdirs@ @pc_libs@
12
12
Cflags: @pc_cflags@ -I${includedir} @pc_incdirs@
You can’t perform that action at this time.
0 commit comments