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

Put XPDEV_MT_LIBS after CRYPT_LIBS (fixes centos build)

Since on 2.17, pthread_afork() is not in libc, -lpthread must be
after -lcl (library link order issue)

Fixes #211

BIG thanks to Scott Comstock for giving me access to his box to fix
this.
parent 1fea40c8
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1268 passed
......@@ -8,4 +8,4 @@ vpath %.c ..
$(SCFG): $(OBJS) $(CRYPT_DEPS)
@echo Linking $@
${QUIET}$(CC) $(LDFLAGS) $(MT_LDFLAGS) -o$@ $(OBJS) $(SMBLIB_LIBS) $(ENCODE_LIBS) $(HASH_LIBS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS) $(CRYPT_LIBS)
${QUIET}$(CC) $(LDFLAGS) $(MT_LDFLAGS) -o$@ $(OBJS) $(SMBLIB_LIBS) $(ENCODE_LIBS) $(HASH_LIBS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(CRYPT_LIBS) $(XPDEV-MT_LIBS)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment