Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PKG_CONFIG_PATH (0.19 sec)

  1. src/cmd/go/go_test.go

    }
    */
    import "C"
    import "os"
    
    func main() {
    	if C.value() != 42 {
    		println("value() =", C.value(), "wanted 42")
    		os.Exit(1)
    	}
    }
    `)
    	tg.setenv("PKG_CONFIG_PATH", tg.path("."))
    	tg.run("run", tg.path("foo.go"))
    
    	// test for ldflags
    	tg.tempFile("bar.pc", `
    Name: bar
    Description: The bar library
    Version: 1.0.0
    Libs: -Wl,-rpath=/path\ with\ spaces/bin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top