-
萌新一枚,第一次使用xmake,lua也不太熟悉。 |
Beta Was this translation helpful? Give feedback.
Answered by
waruqi
Jan 10, 2024
Replies: 1 comment 2 replies
-
xmake 本身不会追加换行,那是 pg_config 输出就带了的,不是 xmake 的问题 你要去掉,就自己 trim 下。 另外,path 是内置模块,不要用 path 命名的变量 |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rookiooO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xmake 本身不会追加换行,那是 pg_config 输出就带了的,不是 xmake 的问题
你要去掉,就自己 trim 下。
result = result:trim()
另外,path 是内置模块,不要用 path 命名的变量