Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine 2 libs into one #78

Closed
Yehh22 opened this issue Jul 11, 2023 · 2 comments
Closed

Combine 2 libs into one #78

Yehh22 opened this issue Jul 11, 2023 · 2 comments

Comments

@Yehh22
Copy link

Yehh22 commented Jul 11, 2023

Is it possible to have the 2 libs be compiled into only one? Mostly because if they are 2 separated libs, there are symbols that need to be visible in order for both libs to interact. With both libs in one, symbols could be stripped

@maoabc
Copy link
Owner

maoabc commented Jul 11, 2023

There should be no problem, modify vm/CMakelist.txt:
add_library(${LIBNMMVM_NAME} SHARED ${VM_SRC_FILES})
change the shared library to a static library

@Yehh22
Copy link
Author

Yehh22 commented Jul 12, 2023

Thanks, it works

@Yehh22 Yehh22 closed this as completed Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants