summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index c98de15..68085fb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -21,7 +21,7 @@ endif
all: $(EXECUTABLE) $(LIBRARY)
$(LIBRARY): selinux-mock.o
- $(LD) -shared -o $(LIBRARY) selinux-mock.o
+ $(CC) $(CFLAGS) -shared -o $(LIBRARY) selinux-mock.o
selinux-mock.o: selinux-mock.c
$(CC) $(CFLAGS) -fPIC -c selinux-mock.c