summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.OCaml9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Makefile.OCaml b/src/Makefile.OCaml
index ca9518a..7cefa2e 100644
--- a/src/Makefile.OCaml
+++ b/src/Makefile.OCaml
@@ -83,8 +83,13 @@ else
ifeq ($(wildcard $(LABLGTK2LIB)),$(LABLGTK2LIB))
UISTYLE=gtk2
else
- UISTYLE=text
-endif
+ LABLGTK2LIB=$(abspath $(OCAMLLIBDIR)/../lablgtk2)
+ ifeq ($(wildcard $(LABLGTK2LIB)),$(LABLGTK2LIB))
+ UISTYLE=gtk2
+ else
+ UISTYLE=text
+ endif
+ endif
endif
buildexecutable::
@echo UISTYLE = $(UISTYLE)