]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs: 643360
authorSteve Langasek <vorlon@debian.org>
Sun, 13 Jul 2003 19:16:34 +0000 (19:16 +0000)
committerSteve Langasek <vorlon@debian.org>
Sun, 13 Jul 2003 19:16:34 +0000 (19:16 +0000)
Purpose of commit: bugfix

Commit summary:
---------------
Use the value of $(PIC) whenever we're compiling dynamic libs/modules;
this is required on most architectures.

Make.Rules.in

index e42c965bb29ad45baca1ba0d1114842e41946355..2aab9bf98d4a2ad5a651ef5e6e6c99849c78c2d8 100644 (file)
@@ -109,3 +109,7 @@ STRIP=@STRIP@
 CC_STATIC=@CC_STATIC@
 
 LINKLIBS = $(NEED_LINK_LIB_C) $(LIBDL)
+
+ifdef DYNAMIC
+CFLAGS += $(PIC)
+endif