summaryrefslogtreecommitdiff
path: root/ppdc/Makefile
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-12-11 16:00:00 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2015-12-11 16:00:00 +0000
commit966773c540e263a1c99778b8ba5857ab64f5a96e (patch)
tree74bd9a7695f13d199b90c69cb8f2444167816401 /ppdc/Makefile
parentf787e1e3ff11339269bdc11e253af91e5961e013 (diff)
downloadcups-966773c540e263a1c99778b8ba5857ab64f5a96e.tar.gz
Fix export list for shared libraries (<rdar://problem/23303388>)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13008 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'ppdc/Makefile')
-rw-r--r--ppdc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppdc/Makefile b/ppdc/Makefile
index ab54fba55..68bf6b2a4 100644
--- a/ppdc/Makefile
+++ b/ppdc/Makefile
@@ -347,7 +347,7 @@ libcupsppdc.so.1: $(LIBOBJS) ../cups/$(LIBCUPS)
libcupsppdc.1.dylib: $(LIBOBJS) ../cups/$(LIBCUPS)
echo Creating export list for $@...
- nm $(LIBOBJS) | grep "T __" | grep -v weak | awk '{print $$3}' | sort >t.exp
+ nm -gm $(LIBOBJS) | grep "__text" | grep -v weak | awk '{print $$NF}' | sort >t.exp
echo Linking $@...
$(DSOXX) $(ARCHFLAGS) $(DSOFLAGS) -o $@ \
-install_name $(libdir)/$@ \