diff --git a/samples/cxx/SConstruct.in b/samples/cxx/SConstruct.in index b645a2812c..c8851bcb41 100644 --- a/samples/cxx/SConstruct.in +++ b/samples/cxx/SConstruct.in @@ -5,6 +5,7 @@ env.Append(CCFLAGS=@tmpl_compiler_flags@, CPPPATH=@tmpl_cantera_incdirs@, LIBS=@tmpl_cantera_libs@, LIBPATH=@tmpl_cantera_libdirs@, + RPATH=@tmpl_cantera_libdirs@, LINKFLAGS=@tmpl_cantera_linkflags@, FRAMEWORKS=@tmpl_cantera_frameworks@) diff --git a/samples/f77/SConstruct.in b/samples/f77/SConstruct.in index 2c024a7fca..5a3540d00d 100644 --- a/samples/f77/SConstruct.in +++ b/samples/f77/SConstruct.in @@ -8,6 +8,7 @@ env.Append(FFLAGS='-g', CPPPATH=@tmpl_cantera_incdirs@, LIBS=@tmpl_cantera_libs@, LIBPATH=@tmpl_cantera_libdirs@, + RPATH=@tmpl_cantera_libdirs@, LINKFLAGS=@tmpl_cantera_linkflags@, FRAMEWORKS=@tmpl_cantera_frameworks@) diff --git a/samples/f90/SConstruct.in b/samples/f90/SConstruct.in index 338286db19..e798cbbca8 100644 --- a/samples/f90/SConstruct.in +++ b/samples/f90/SConstruct.in @@ -6,6 +6,7 @@ env.Append(FFLAGS='-g', F90PATH=@tmpl_cantera_incdirs@, LIBS=@tmpl_cantera_libs@, LIBPATH=@tmpl_cantera_libdirs@, + RPATH=@tmpl_cantera_libdirs@, LINKFLAGS=@tmpl_cantera_linkflags@, FRAMEWORKS=@tmpl_cantera_frameworks@)