with an ancient Automake, we recommend quoting the flag itself, and setting 'program_DEPENDENCIES' too: program_LDADD = "-dlopen" libfoo.la program_DEPENDENCIES = libfoo.la