summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vnc/Makefile2
-rw-r--r--xrdp/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/vnc/Makefile b/vnc/Makefile
index 82b126f9..a37edd88 100644
--- a/vnc/Makefile
+++ b/vnc/Makefile
@@ -1,6 +1,6 @@
VNCOBJ = vnc.o os_calls.o d3des.o
-CFLAGS = -Wall -O2 -I../common
+CFLAGS = -Wall -O2 -I../common -fPIC
C_OS_FLAGS = $(CFLAGS) -c
LDFLAGS = -shared
LIBS = -ldl
diff --git a/xrdp/Makefile b/xrdp/Makefile
index e64d70f0..742ffef1 100644
--- a/xrdp/Makefile
+++ b/xrdp/Makefile
@@ -10,7 +10,7 @@ XRDPOBJ = xrdp.o xrdp_tcp.o xrdp_iso.o xrdp_mcs.o xrdp_sec.o \
CFLAGS = -Wall -O2 -I../common
C_OS_FLAGS = $(CFLAGS) -DUSE_OPENSSL -DUSE_PTHREAD -c
LDFLAGS = -L /usr/gnu/lib
-LIBS = -lpthread -lcrypto
+LIBS = -lpthread -lcrypto -ldl
#CC = g++
CC = gcc