]> arthur.barton.de Git - netatalk.git/commitdiff
Added $LDFLAGS definition and usage. Enables -L linker flags to be passed for a...
authorlancel <lancel>
Fri, 23 Mar 2001 04:05:48 +0000 (04:05 +0000)
committerlancel <lancel>
Fri, 23 Mar 2001 04:05:48 +0000 (04:05 +0000)
etc/uams/Makefile.am

index 1c15002a53d9e747d54fd920d2e4df665c822273..fa73566535d30722e1544b2169798fa327ab8a2a 100644 (file)
@@ -37,6 +37,8 @@ uams_LINKS = $(DHX_LINKS) uams_clrtxt.so
 EXTRA_DIST = uams_dhx_pam.c uams_dhx_passwd.c uams_pgp.c \
        uams_guest.c uams_pam.c uams_passwd.c uams_randnum.c
 
+LDFLAGS = @LDFLAGS@
+
 #
 # standard library compilation:
 #
@@ -45,7 +47,7 @@ SUFFIXES = .c .so
 .c.so:
        $(COMPILE) -DHAVE_CONFIG_H -fPIC -DPIC \
          -I$(top_srcdir) -fomit-frame-pointer -c $< ; \
-       $(LD) -shared $(LDSHAREDFLAGS) -o $@ $*.o $(LIBS)
+       $(LD) -shared $(LDSHAREDFLAGS) -o $@ $*.o $(LDFLAGS) $(LIBS)
 
 #
 # create symbolic links: