- 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:
parent
b8bbe1c7c2
commit
fa56678dc0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user