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

Fix symlinks in the build script. #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carlonluca
Copy link

The current script did not create the proper symlinks for me. This is how I fixed it.

Copy link
Collaborator

@Issam-b Issam-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @carlonluca, could you expand the commit message on this is doing to fix the symlinks?

These symlinks were created by the script before this patch:

root@4923c457fa27:~/android_openssl/ssl_3/arm64-v8a# tree
.
├── include -> ../ssl_3/include
├── libcrypto.a
├── libcrypto.so -> ../ssl_3/arm64-v8a/libcrypto_3.so
├── libcrypto_3.so
├── libssl.a
├── libssl.so -> ../ssl_3/arm64-v8a/libssl_3.so
└── libssl_3.so

After the fix, this is the result:

root@4923c457fa27:~/android_openssl/ssl_3/arm64-v8a# tree
.
├── include -> ../../ssl_3/include
├── libcrypto.a
├── libcrypto.so -> libcrypto_3.so
├── libcrypto_3.so
├── libssl.a
├── libssl.so -> libssl_3.so
└── libssl_3.so
@carlonluca
Copy link
Author

I updated the commit message with more details.

Issam-b added a commit to Issam-b/android_openssl that referenced this pull request Sep 15, 2024
* The script now supports zsh and bash to allow building from macOS and
  Linux with builtin zsh and bash version 3 or 4.
* It now uses curl instead of wget, wget is not builtin on macOS.
* Use the default NDk path from the Android SDK.
* Allow to set custom build and output folders.
* The various build folders for each version are now kept around under
  the 'build' folder.
* At the same time add the build folder to .gitignore.
* Create relative symlinks KDAB#61.
Issam-b added a commit to Issam-b/android_openssl that referenced this pull request Sep 15, 2024
* The script now supports zsh and bash to allow building from macOS and
  Linux with builtin zsh and bash version 3 or 4.
* It now uses curl instead of wget, wget is not builtin on macOS.
* Use the default NDk path from the Android SDK.
* Allow to set custom build and output folders.
* The various build folders for each version are now kept around under
  the 'build' folder.
* At the same time add the build folder to .gitignore.
* Create relative symlinks KDAB#61.
Issam-b added a commit to Issam-b/android_openssl that referenced this pull request Sep 16, 2024
* The script now supports zsh and bash to allow building from macOS and
  Linux with builtin zsh and bash version 3 or 4.
* It now uses curl instead of wget, wget is not builtin on macOS.
* Use the default NDk path from the Android SDK.
* Allow to set custom build and output folders.
* The various build folders for each version are now kept around under
  the 'build' folder.
* At the same time add the build folder to .gitignore.
* Create relative symlinks KDAB#61.
Issam-b added a commit to Issam-b/android_openssl that referenced this pull request Sep 16, 2024
* The script now supports zsh and bash to allow building from macOS and
  Linux with builtin zsh and bash version 3 or 4.
* It now uses curl instead of wget, wget is not builtin on macOS.
* Use the default NDk path from the Android SDK.
* Allow to set custom build and output folders.
* The various build folders for each version are now kept around under
  the 'build' folder.
* At the same time add the build folder to .gitignore.
* Create relative symlinks KDAB#61.
Issam-b added a commit to Issam-b/android_openssl that referenced this pull request Sep 20, 2024
* The script now supports zsh and bash to allow building from macOS and
  Linux with builtin zsh and bash version 3 or 4.
* It now uses curl instead of wget, wget is not builtin on macOS.
* Use the default NDk path from the Android SDK.
* Allow to set custom build and output folders.
* The various build folders for each version are now kept around under
  the 'build' folder.
* At the same time add the build folder to .gitignore.
* Create relative symlinks KDAB#61.
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

Successfully merging this pull request may close these issues.

2 participants