X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Fgetcwd-lgpl;h=6a780ad774b2a3972c220d8cb651b88193e5cc06;hb=7170ee077cc44186a70cb264ceb8352a1349e05b;hp=1b9c87bf504daf095828eb8de5a925e22dc0384b;hpb=043be67acb94a724f96e3b18c3a09aefffd463af;p=pspp diff --git a/modules/getcwd-lgpl b/modules/getcwd-lgpl index 1b9c87bf50..6a780ad774 100644 --- a/modules/getcwd-lgpl +++ b/modules/getcwd-lgpl @@ -6,11 +6,14 @@ lib/getcwd-lgpl.c m4/getcwd.m4 Depends-on: -strdup unistd +strdup [test $REPLACE_GETCWD = 1] configure.ac: gl_FUNC_GETCWD_LGPL +if test $REPLACE_GETCWD = 1; then + AC_LIBOBJ([getcwd-lgpl]) +fi gl_UNISTD_MODULE_INDICATOR([getcwd]) Makefile.am: