From: Ben Pfaff Date: Fri, 17 Oct 2008 16:52:37 +0000 (-0700) Subject: Fix lib/dhparams.c build failure fallout from earlier build system changes. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f5d2de06585322076ce24b2891b0c9c590c8ebf;p=openvswitch Fix lib/dhparams.c build failure fallout from earlier build system changes. --- diff --git a/lib/automake.mk b/lib/automake.mk index 119fb61a..ee8eb348 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -45,10 +45,10 @@ lib_libopenflow_a_SOURCES += \ lib/vconn-ssl.c nodist_lib_libopenflow_a_SOURCES = lib/dhparams.c lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem - (echo '#include "dhparams.h"' && \ - openssl dhparam -C -in $(srcdir)/dh1024.pem -noout && \ - openssl dhparam -C -in $(srcdir)/dh2048.pem -noout && \ - openssl dhparam -C -in $(srcdir)/dh4096.pem -noout) \ + (echo '#include "lib/dhparams.h"' && \ + openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \ + openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \ + openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \ | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp mv lib/dhparams.c.tmp lib/dhparams.c endif