changeset 7363:7d5b758810c2 icedtea-2.5pre01

Link against $(LIBDL) if SYSTEM_CUPS is not true
author andrew
date Wed, 05 Feb 2014 11:24:21 +0000
parents f0e170c48eca
children 9d25f8b8991d
files make/sun/awt/mawt.gmk
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/sun/awt/mawt.gmk	Wed Feb 05 10:35:40 2014 +0000
+++ b/make/sun/awt/mawt.gmk	Wed Feb 05 11:24:21 2014 +0000
@@ -192,6 +192,8 @@
 
 ifeq ($(SYSTEM_CUPS), true)
   OTHER_LDLIBS += $(CUPS_LIBS)
+else
+  OTHER_LDLIBS += $(LIBDL)
 endif
 
 ifeq ($(SYSTEM_FONTCONFIG), true)
@@ -219,7 +221,6 @@
 
 ifeq ($(SYSTEM_CUPS), true)
   CPPFLAGS += -DUSE_SYSTEM_CUPS
-  LDFLAGS += $(CUPS_LIBS)
 else
   CPPFLAGS += -I$(PLATFORM_SRC)/native/common/deps
 endif