aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-04 14:01:24 +0000
committerRoy Marples <roy@marples.name>2008-01-04 14:01:24 +0000
commit633297a6ca01df281c293cb484d3f377d90af1b3 (patch)
treebdf3d005334e7dfc02d36a4d00637aebdb7962a4 /src/Makefile
parent3be23bc02d30bc415e5ae3f1bc167280d9fde26e (diff)
Support static building against a non static PAM.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index c24e75ee..a0d3d67c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -110,7 +110,7 @@ $(LIBEINFOSO): einfo.map $(LIBEINFOOBJS)
$(CC) $(LDFLAGS) -fPIC -shared \
-Wl,-soname,$(LIBEINFOSO) \
-Wl,-version-script einfo.map \
- -o $(LIBEINFOSO) $(LIBEINFOOBJS) $(LDLIBS) $(LDLIBS_LIBEINFO)
+ -o $(LIBEINFOSO) $(LIBEINFOOBJS) $(LDLIBS_LIBEINFO)
ln -sf $(LIBEINFOSO) libeinfo.so
ar rc libeinfo.a $(LIBEINFOOBJS)
ranlib libeinfo.a
@@ -121,7 +121,7 @@ $(LIBRCSO): rc.map $(LIBRCOBJS)
$(CC) $(LDFLAGS) -fPIC -shared \
-Wl,-soname,$(LIBRCSO) \
-Wl,-version-script rc.map \
- -o $(LIBRCSO) $(LIBRCOBJS) $(LDLIBS) $(LDLIBS_LIBRC)
+ -o $(LIBRCSO) $(LIBRCOBJS) $(LDLIBS_LIBRC)
ln -sf $(LIBRCSO) librc.so
ar rc librc.a $(LIBRCOBJS)
ranlib librc.a
@@ -130,7 +130,7 @@ $(RCOBJS):
$(CC) $(CPPFLAGS) $(CPPFLAGS_SSD) $(CFLAGS) -c $<
rc: version.h $(LIBEINFOSO) $(LIBRCSO) $(RCOBJS)
$(CC) $(LDFLAGS) $(BIN_LDFLAGS) -o rc \
- $(RCOBJS) $(LDLIBS) $(LDLIBS_RC) $(LDLIBS_LIBEINFO) $(LDLIBS_LIBRC)
+ $(RCOBJS) $(LDLIBS_LIBEINFO) $(LDLIBS_LIBRC) $(LDLIBS_RC)
$(ALL_LINKS): rc
ln -sf rc $@