Replies: 1 comment 1 reply
-
package("xxx")
on_load(function (package)
package:add("linkdirs", path.join("lib", package:config("project_name")))
end) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
qiuwei
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to do something like:
Where project_name is of type string and should be provided by the package user.
However, it seems invalid.
How could I achieve this?
Beta Was this translation helpful? Give feedback.
All reactions