mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: realpath => real_path
This commit is contained in:
@@ -272,7 +272,7 @@ fn (g mut CGen) add_to_main(s string) {
|
||||
}
|
||||
|
||||
fn (v &V) build_thirdparty_obj_file(path string, moduleflags []CFlag) {
|
||||
obj_path := os.realpath(path)
|
||||
obj_path := os.real_path(path)
|
||||
if os.exists(obj_path) {
|
||||
return
|
||||
}
|
||||
@@ -284,7 +284,7 @@ fn (v &V) build_thirdparty_obj_file(path string, moduleflags []CFlag) {
|
||||
mut cfiles := ''
|
||||
for file in files {
|
||||
if file.ends_with('.c') {
|
||||
cfiles += '"' + os.realpath(parent + os.path_separator + file) + '" '
|
||||
cfiles += '"' + os.real_path(parent + os.path_separator + file) + '" '
|
||||
}
|
||||
}
|
||||
btarget := moduleflags.c_options_before_target()
|
||||
|
||||
Reference in New Issue
Block a user