Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not strip symbols from iconx. #452

Closed
wants to merge 1 commit into from

Conversation

Don-Ward
Copy link
Collaborator

@Don-Ward Don-Ward commented May 2, 2024

Plugins require the symbols to be present in iconx to load successfully.

Plugins require the symbols to be present in iconx to load successfully.
@Don-Ward Don-Ward requested a review from Jafaral May 2, 2024 14:12
# NTCONDEP is set to NTCON on windows only to add a dependency that sets NTCONSOLE
$(UNICONX) $(ICONXEXE): $(NTCONDEP) $(OBJS) ../../rt/lib/libucommon.a ../../rt/lib/libuconsole.a ../../rt/lib/libgdbm.a ../../rt/lib/libtp.a
$(CC) $(LDFLAGS) $(WSUBSYS) $(WSTKLDFLAG) $(RLINK) -o $(UNICONX) $(OBJS) $(XLIBS) $(RLIBS) $(XL) $(LIBSTDCPP) $(WGLIBS) -luconsole
cp $(UNICONX)$(EXE) ../../bin
$(STRIP) ../../bin/$(UNICONX)$(EXE);
# Symbols are needed for plugins to load successfully
# $(STRIP) ../../bin/$(UNICONX)$(EXE);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we leave that in, and use strip -g instead ?

Copy link
Collaborator Author

@Don-Ward Don-Ward May 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no "-g" option on macOS. The easiest option (which works everywhere) is to not strip iconx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants