mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Do not create unnecessary test binary. This also prevents TEXTRELS errors on systems where relocations are tracked.
This commit is contained in:
parent
1046c2d4d5
commit
22f4e094cf
@ -12,6 +12,7 @@ SubDir TOP ede-panel applets start-menu ;
|
|||||||
|
|
||||||
MENU_SRC = XdgMenuReader.cpp DesktopEntry.cpp MenuRules.cpp ;
|
MENU_SRC = XdgMenuReader.cpp DesktopEntry.cpp MenuRules.cpp ;
|
||||||
|
|
||||||
|
if $(MENU_TESTS) {
|
||||||
Library libmenu : $(MENU_SRC) ;
|
Library libmenu : $(MENU_SRC) ;
|
||||||
ObjectC++Flags $(MENU_SRC) : -fPIC $(FLTKINCLUDE) -I [ FDirName $(TOP) ede-panel ] $(EDELIBINCLUDE) ;
|
ObjectC++Flags $(MENU_SRC) : -fPIC $(FLTKINCLUDE) -I [ FDirName $(TOP) ede-panel ] $(EDELIBINCLUDE) ;
|
||||||
|
|
||||||
@ -19,3 +20,6 @@ PanelApplet start_menu : StartMenu.cpp : -L$(SUBDIR) -lmenu ;
|
|||||||
|
|
||||||
EdeProgram ede-menu-spec-test : ede-menu-spec-test.cpp ;
|
EdeProgram ede-menu-spec-test : ede-menu-spec-test.cpp ;
|
||||||
LinkAgainstAsFirst ede-menu-spec-test : -L$(SUBDIR) -lmenu ;
|
LinkAgainstAsFirst ede-menu-spec-test : -L$(SUBDIR) -lmenu ;
|
||||||
|
} else {
|
||||||
|
PanelApplet start_menu : StartMenu.cpp $(MENU_SRC) ;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user