Created
July 7, 2015 10:24
-
-
Save jwakely/84e905daa67a4c06f3e6 to your computer and use it in GitHub Desktop.
Linker script for using GCC's std::thread with static linking
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
/* Ensure we don't use gthread weak symbols. */ | |
EXTERN(pthread_cond_broadcast) | |
EXTERN(pthread_cond_destroy) | |
EXTERN(pthread_cond_signal) | |
EXTERN(pthread_cond_wait) | |
EXTERN(pthread_create) | |
EXTERN(pthread_detach) | |
EXTERN(pthread_equal) | |
EXTERN(pthread_join) | |
EXTERN(pthread_mutex_lock) | |
EXTERN(pthread_mutex_unlock) | |
EXTERN(pthread_once) | |
EXTERN(pthread_setcancelstate) | |
INPUT( -lpthread ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment