summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael E Brown <mebrown@michaels-house.net>2007-08-13 01:51:04 -0500
committerMichael E Brown <mebrown@michaels-house.net>2007-08-13 01:51:04 -0500
commit52dbb80070c4e2df83f6cfd835e5ceb43aa8382d (patch)
treefeb32086fc10c2199928846761d7f9a487ab19d7 /src
parent6a25dfc53d548050fb26baf8f7a4910dda1bfe48 (diff)
downloadmock-52dbb80070c4e2df83f6cfd835e5ceb43aa8382d.tar.gz
mock-52dbb80070c4e2df83f6cfd835e5ceb43aa8382d.tar.xz
mock-52dbb80070c4e2df83f6cfd835e5ceb43aa8382d.zip
Patch from Roland McGrath <roland@redhat.com> to fix build for selinux shared library.
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