Created
December 1, 2019 04:04
-
-
Save giraphics/f0573cfd41d90ba7ff8f55da4286df70 to your computer and use it in GitHub Desktop.
How to merge two “ar” static libraries into one?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################################################################### | |
# You can extract the object from both the .a files and create your .a file using the extracted .os: # | |
###################################################################################################### | |
# Make a .tmp directory where we will extract our .o file later we delete this dir | |
mkdir .tmp | |
cd .tmp | |
ar -x ../libBMDGfx.a | |
ar -x ../Graphics/3rdParty/FontSupport/harfbuzz-master/build/libharfbuzz.a | |
ar -rc ../libGfx.a *.o | |
#ar -ds ../libGfx.a *.o | |
cd .. | |
rm -rf .tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment