diff options
Diffstat (limited to 'libdha/Makefile')
-rw-r--r-- | libdha/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libdha/Makefile b/libdha/Makefile index 6293578d51..3a941c3071 100644 --- a/libdha/Makefile +++ b/libdha/Makefile @@ -31,7 +31,9 @@ endif # If you want libdha to use svgalib_helper for hardware access, # uncomment this statement, and change the -I to the correct directory # that includes svgalib_helper.o: -#CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/ +ifneq ($(wildcard svgalib_helper),) +CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/ +endif .SUFFIXES: .c .o |