diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-10 01:01:56 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2018-10-10 01:01:56 -0400 |
commit | e35868753c43c175288ff2c1e06b0b86c7b6ac60 (patch) | |
tree | 1e8a6742c6f699316c180d5ef9c5f42637d7c8f6 /cups/Makefile | |
parent | 24a06ed38135679efe65e3a6cf844c64cd04f79e (diff) | |
download | cups-e35868753c43c175288ff2c1e06b0b86c7b6ac60.tar.gz |
Update visibility stuff so we can build libcups.2.dylib without an exports list.
Diffstat (limited to 'cups/Makefile')
-rw-r--r-- | cups/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/cups/Makefile b/cups/Makefile index debe84c79..94f5e9f10 100644 --- a/cups/Makefile +++ b/cups/Makefile @@ -347,22 +347,16 @@ libcups.so.2: $(LIBOBJS) # libcups.2.dylib # -libcups.2.dylib: $(LIBOBJS) $(LIBCUPSORDER) - echo Creating export list for $@... - nm -gm $(LIBOBJS) 2>/dev/null | grep "__text" | grep -v weak | \ - awk '{print $$NF}' | \ - grep -v -E -e '^(_cupsConnect|_cupsCharset|_cupsEncodingName|_cupsSetDefaults|_cupsSetHTTPError|_cupsUserDefault)$$' | \ - sort >t.exp +libcups.2.dylib: $(LIBOBJS) echo Linking $@... $(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ \ -install_name $(libdir)/$@ \ -current_version 2.14.0 \ -compatibility_version 2.0.0 \ - -exported_symbols_list t.exp \ $(LIBOBJS) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \ $(COMMONLIBS) $(LIBZ) $(CODE_SIGN) -s "$(CODE_SIGN_IDENTITY)" $@ - $(RM) libcups.dylib t.exp + $(RM) libcups.dylib $(LN) $@ libcups.dylib |