Commit 01797f2f authored by James Juran's avatar James Juran Committed by Alexandre Julliard

Don't install include files when --disable-lib is used.

parent 05c50d5b
......@@ -190,8 +190,10 @@ uninstall_lib: uninstall_includes
$(RM) $(libdir)/wine.sym
install_includes: dummy
[ -d $(includedir) ] || $(MKDIR) $(includedir)
cd $(TOPSRCDIR)/include; $(INSTALL_DATA) windows.h wintypes.h $(includedir)
# Testing LIB_TARGET prevents installing header files
# when --disable-lib is used.
if [ $(LIB_TARGET) ]; then [ -d $(includedir) ] || $(MKDIR) $(includedir); \
cd $(TOPSRCDIR)/include; $(INSTALL_DATA) windows.h wintypes.h $(includedir); fi
# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
# anything extra the user may have put there.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment