Skip to content

Commit a6a9970

Browse files
committed
Add dummy symbol for static library generation
libapps is used internally for the linkage of user applications, and there should be at least one symbol even when all applications are absent via top-level configuration. Otherwise, the ranlib would complain as following: ranlib: file: .libapps.a/libapps.a(dummy.c.o) has no symbols
1 parent fd3e451 commit a6a9970

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/dummy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/* Placeholder */
2+
int _apps_dummy;

0 commit comments

Comments
 (0)