Skip to content

Commit

Permalink
fix(mkfile): attempt #8 to fix dynamic lib creation linking issues wi…
Browse files Browse the repository at this point in the history
…th windows clang ld-link
  • Loading branch information
lexouduck committed Nov 22, 2024
1 parent 79b6e4b commit 804dd8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
libccc@0.12.8-2024-11-22_b661047c17fa256276f343f49de85ecddaef1992
libccc@0.12.9-2024-11-22_79b6e4b97623e060ca60944ddaca45d896b461b8
3 changes: 1 addition & 2 deletions mkfile/rules/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ endif
ifeq ($(OSMODE),windows)
ifeq ($(CC),clang)
@$(CC) -shared -o $@ $(CFLAGS) $(LDFLAGS) $(call objs) $(LDLIBS) \
-fvisibility=default \
-mdllall
$(BINPATH)static/$(NAME_static) # -Wl,"/DEF:$(BINPATH)dynamic/$(NAME).def"
else
@$(CC) -shared -o $@ $(CFLAGS) $(LDFLAGS) $(call objs) $(LDLIBS) \
-Wl,--output-def,$(BINPATH)dynamic/$(NAME).def \
Expand Down

0 comments on commit 804dd8c

Please sign in to comment.