Skip to content

Instantly share code, notes, and snippets.

@steveatinfincia
Created March 10, 2017 18:51
Show Gist options
  • Save steveatinfincia/f5bc8af8cfcc681fa54d33dab00ab1a1 to your computer and use it in GitHub Desktop.
Save steveatinfincia/f5bc8af8cfcc681fa54d33dab00ab1a1 to your computer and use it in GitHub Desktop.
install_name_tool -id "@rpath/libmy.dylib" dist-x86_64-apple-darwin/lib/libmy.dylib || true
clang -o test src/test.c -rpath dist-x86_64-apple-darwin/lib -Ldist-x86_64-apple-darwin/lib -Idist-x86_64-apple-darwin/include -lmy -O2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment