summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile2
-rwxr-xr-xsrc/configure1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2cc09b2..841c6fb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -34,6 +34,8 @@
include include.mk
+LD := $(CC)
+
EXECUTABLE := uanytun
CRYPT_OBJ := key_derivation.o \
diff --git a/src/configure b/src/configure
index e3cb2a8..cad9c57 100755
--- a/src/configure
+++ b/src/configure
@@ -148,7 +148,6 @@ cat >> include.mk <<EOF
TARGET := $TARGET
CC := gcc
CFLAGS := $CFLAGS
-LD := gcc
LDFLAGS := $LDFLAGS
EOF