Skip to content

Commit

Permalink
fix(mkfile): attempt #7 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 b661047 commit 79b6e4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
libccc@0.12.7-2024-11-22_584ef2772bb076ac152514300a14d5d1b7254591
libccc@0.12.8-2024-11-22_b661047c17fa256276f343f49de85ecddaef1992
3 changes: 2 additions & 1 deletion mkfile/rules/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ endif
ifeq ($(OSMODE),windows)
ifeq ($(CC),clang)
@$(CC) -shared -o $@ $(CFLAGS) $(LDFLAGS) $(call objs) $(LDLIBS) \
-fvisibility=protected
-fvisibility=default \
-mdllall
else
@$(CC) -shared -o $@ $(CFLAGS) $(LDFLAGS) $(call objs) $(LDLIBS) \
-Wl,--output-def,$(BINPATH)dynamic/$(NAME).def \
Expand Down

0 comments on commit 79b6e4b

Please sign in to comment.