summaryrefslogtreecommitdiff
path: root/list.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-25 20:21:29 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-25 20:21:29 -0400
commitb56ccbec6f7ba64a7d2d7770123e8d4127789004 (patch)
tree4deaad933ad4d113a8d53a653da4a75411cc0d89 /list.c
parent1e43a21402f8868adbf5303c9f12d93e98f4f078 (diff)
add basic library support
Diffstat (limited to 'list.c')
-rw-r--r--list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/list.c b/list.c
index 2fa06ab..46d36a5 100644
--- a/list.c
+++ b/list.c
@@ -49,6 +49,8 @@ struct majeflag *insert_flag(struct majeflag *list, char *flag)
type = MAJE_LDFLAG;
} else if (!strcmp(flag, "MAJE_LDLIB")) {
type = MAJE_LDLIB;
+ } else if (!strcmp(flag, "MAJE_LIB")) {
+ type = MAJE_LIB;
} else {
fprintf(stderr, "maje: unkonwn directive '%s'\n", flag);
return list;