aboutsummaryrefslogtreecommitdiff
path: root/iPhone/GTMUIFont+LineHeight.m
diff options
context:
space:
mode:
Diffstat (limited to 'iPhone/GTMUIFont+LineHeight.m')
-rw-r--r--iPhone/GTMUIFont+LineHeight.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/iPhone/GTMUIFont+LineHeight.m b/iPhone/GTMUIFont+LineHeight.m
index 6d5ef11..21f1fda 100644
--- a/iPhone/GTMUIFont+LineHeight.m
+++ b/iPhone/GTMUIFont+LineHeight.m
@@ -20,6 +20,11 @@
#import <Availability.h>
+// Export a nonsense symbol to suppress a libtool warning when this is linked
+// alone in a static lib.
+__attribute__((visibility("default")))
+ char GTMUIFont_LineHeightExportToSuppressLibToolWarning = 0;
+
@implementation UIFont (GTMLineHeight)
- (CGFloat)gtm_lineHeight {
#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0