Skip to content
Snippets Groups Projects
Commit 8ce336ec authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

elfctl doesn't work on shared objects.

parent 45e8eba1
No related branches found
No related tags found
No related merge requests found
Pipeline #6644 failed
......@@ -175,10 +175,6 @@ $(SBBS): $(JS_DEPS) $(CRYPT_DEPS) $(OBJS) $(LIBS) $(EXTRA_SBBS_DEPENDS) $(ENCODE
ifeq ($(os), netbsd)
paxctl +m $(SBBS)
endif
ifeq ($(os), freebsd)
elfctl -e +noprotmax,wxneeded $(SBBS)
endif
# FTP Server Link Rule
$(FTPSRVR): $(MTOBJODIR)/ftpsrvr.o
......@@ -204,6 +200,9 @@ $(SERVICES): $(SERVICE_OBJS)
$(SBBSCON): $(CON_OBJS) $(SBBS) $(FTPSRVR) $(WEBSRVR) $(MAILSRVR) $(SERVICES)
@echo Linking $@
$(QUIET)$(CXX) $(LDFLAGS) $(MT_LDFLAGS) -o $@ $(CON_OBJS) $(CON_LIBS) $(SMBLIB_LIBS) $(XPDEV-MT_LIBS)
ifeq ($(os), freebsd)
elfctl -e +noprotmax,wxneeded $(SBBSCON)
endif
# Baja Utility
$(BAJA): $(BAJA_OBJS) | $(EXEODIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment