https://github.com/springmeyer/shared-library-path
sample code to test finding the absolute path to a shared library across platforms
https://github.com/springmeyer/shared-library-path
Last synced: 7 months ago
JSON representation
sample code to test finding the absolute path to a shared library across platforms
- Host: GitHub
- URL: https://github.com/springmeyer/shared-library-path
- Owner: springmeyer
- Created: 2012-10-10T22:25:56.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-11-27T01:39:32.000Z (over 13 years ago)
- Last Synced: 2024-12-28T18:28:06.823Z (over 1 year ago)
- Language: C++
- Size: 109 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## sample code to test finding the absolute path to a shared library across platforms
## Requires gyp to build
sudo pip install gyp
## Build
On Unix/Mac:
make
make test
Should print something like:
```
hello
/usr/local/lib/libmylib.dylib
hello
/Users/dane/projects/dlpath/build/out/Default/libmylib.dylib
hello
/Users/dane/projects/dlpath/libmylib.dylib
```
Other platforms: Need help testing
For windows and gyp see: https://github.com/springmeyer/hello-gyp