- for win32 DLL plugin build, link with $(CDROM_OBJS) instead of writing

cdrom.o explicitly.  This makes it so that cdrom.o is only linked in
  when the configure script enables it.
This commit is contained in:
Bryce Denney 2002-10-28 05:26:09 +00:00
parent b8bbe1c7c2
commit fa56678dc0

View File

@ -123,7 +123,7 @@ libpit.la: pit.lo pit82c54.lo pit_wrap.lo
# special link rules for plugins that require more than one object file
harddrv.dll: harddrv.o $(CDROM_OBJS)
$(CXX) $(CXXFLAGS) -shared -o harddrv.dll harddrv.o cdrom.o $(WIN32_DLL_IMPORT_LIBRARY)
$(CXX) $(CXXFLAGS) -shared -o harddrv.dll harddrv.o $(CDROM_OBJS) $(WIN32_DLL_IMPORT_LIBRARY)
keyboard.dll: keyboard.o scancodes.o
$(CXX) $(CXXFLAGS) -shared -o keyboard.dll keyboard.o scancodes.o $(WIN32_DLL_IMPORT_LIBRARY)