@@ -81,10 +81,11 @@ # External functions if {[info exists ::env(TCC4TCL_TEST_RUN_NATIVE)]} { set handle [tcc4tcl::new] $handle cwrap curl_version {} vstring $handle add_library_path [::tcl::pkgconfig get libdir,runtime] + $handle add_library_path /usr/lib/x86_64-linux-gnu $handle add_library_path /usr/lib64 $handle add_library_path /usr/lib $handle add_library_path /usr/lib32 $handle add_library curl $handle go @@ -105,10 +106,11 @@ set tmpfile "/tmp/DELETEME_tcc4tcl_test_exec[expr rand()].so" file delete $tmpfile set handle [tcc4tcl::new $tmpfile "myPkg 0.1"] $handle cproc ext_add {int a int b} long { return(a+b); } $handle add_library_path [::tcl::pkgconfig get libdir,runtime] + $handle add_library_path /usr/lib/x86_64-linux-gnu $handle add_library_path /usr/lib64 $handle add_library_path /usr/lib $handle add_library_path /usr/lib32 $handle add_library tclstub${::tcl_version} $handle go @@ -138,10 +140,11 @@ return(TCL_OK); } $handle add_include_path /usr/include $handle add_library_path [::tcl::pkgconfig get libdir,runtime] + $handle add_library_path /usr/lib/x86_64-linux-gnu $handle add_library_path /usr/lib64 $handle add_library_path /usr/lib $handle add_library_path /usr/lib32 $handle add_library curl $handle go