Skip to content

Instantly share code, notes, and snippets.

@technion
Created March 6, 2014 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save technion/9380115 to your computer and use it in GitHub Desktop.
Save technion/9380115 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index b460553..7dbb3a1 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ all: reference
OBJS= crypto_scrypt-nosse.o sha256.o crypto_scrypt-hexconvert.o crypto-mcf.o b6
libscrypt.so.0: $(OBJS)
- $(CC) $(LDFLAGS) -shared -o libscrypt.so.0 -lc -lm $(OBJS)
+ $(CC) $(LDFLAGS) -shared -o libscrypt.so.0 $(OBJS) -lm -lc
ar rcs libscrypt.a $(OBJS)
reference: libscrypt.so.0 main.o b64.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment