Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 602070f

Browse files
committed
ecpg: Parallel make fix
In some parallel make situations, the install-headers target could be called before the installation directories are created by installdirs, causing the installation to fail. Fix that by making install-headers depend on installdirs.
1 parent 6caf759 commit 602070f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/include/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informi
1818
sqlda.h sqlda-compat.h sqlda-native.h
1919
informix_headers = datetime.h decimal.h sqltypes.h
2020

21-
install-headers: $(ecpg_headers) $(informix_headers)
21+
install-headers: $(ecpg_headers) $(informix_headers) installdirs
2222
$(INSTALL_DATA) $(addprefix $(srcdir)/,$(ecpg_headers)) '$(DESTDIR)$(includedir)/'
2323
$(INSTALL_DATA) $(addprefix $(srcdir)/,$(informix_headers)) '$(DESTDIR)$(informix_esql_dir)/'
2424
$(INSTALL_DATA) $(ecpg_config_h) '$(DESTDIR)$(includedir)'

0 commit comments

Comments
 (0)