diff --git a/rosapps/regedit/Makefile b/rosapps/regedit/Makefile index 8375d5ad9d1..63a581f94d4 100644 --- a/rosapps/regedit/Makefile +++ b/rosapps/regedit/Makefile @@ -25,9 +25,9 @@ WINE_INCLUDE = ./ TARGET_SDKLIBS = \ kernel32.a \ user32.a \ - gdi32.a \ - $(COMCTL32_TARGET).a \ - $(COMDLG32_TARGET).a + gdi32.a + +TARGET_GCCLIBS = comctl32 comdlg32 TARGET_OBJECTS = \ about.o \ diff --git a/rosapps/regedt32/Makefile b/rosapps/regedt32/Makefile index 1e61150500c..274761f0e9d 100644 --- a/rosapps/regedt32/Makefile +++ b/rosapps/regedt32/Makefile @@ -26,9 +26,9 @@ TARGET_SDKLIBS = \ kernel32.a \ user32.a \ gdi32.a \ - advapi32.a \ - $(COMCTL32_TARGET).a \ - $(COMDLG32_TARGET).a + advapi32.a + +TARGET_GCCLIBS = comctl32 comdlg32 TARGET_OBJECTS = \ framewnd.o \