Kaydet (Commit) b0543040 authored tarafından Michael Stahl's avatar Michael Stahl

vcl: clean up that Xinerama linkage...

... odd duplication apparently due to wrong conversion from dmakefile.

Change-Id: I9a9e183373ec43fb0b1eadc2c233ce659bebd107
üst 78b59b83
......@@ -129,8 +129,8 @@ $(eval $(call gb_Library_add_defs,vclplug_gen,\
## handle Xinerama
ifneq ($(USE_XINERAMA),NO)
ifneq ($(OS),SOLARIS)
# not Solaris
ifneq ($(OS)$(USE_XINERAMA_VERSION),SOLARISXsun)
# not Solaris/Xsun
$(eval $(call gb_Library_add_defs,vclplug_gen,\
-DUSE_XINERAMA_XORG \
))
......@@ -143,25 +143,12 @@ $(eval $(call gb_Library_add_libs,vclplug_gen,\
-Wl,-Bstatic -lXinerama -Wl,-Bdynamic \
))
endif
else
# Solaris
else # Solaris/Xsun
$(eval $(call gb_Library_add_defs,vclplug_gen,\
-DUSE_XINERAMA_XSUN \
))
ifeq ($(USE_XINERAMA_VERSION),Xorg)
# Solaris, Xorg
ifeq ($(XINERAMA_LINK),dynamic)
$(eval $(call gb_Library_add_libs,vclplug_gen,\
-lXinerama \
))
else
$(eval $(call gb_Library_add_libs,vclplug_gen,\
-Wl,-Bstatic -lXinerama -Wl,-Bdynamic \
))
endif
endif
endif
endif
endif # USE_XINERAMA
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_use_libraries,vclplug_gen,\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment