03595f362d
Accepted submit request 52268 from user elvigia OBS-URL: https://build.opensuse.org/request/show/52268 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/adns?expand=0&rev=11
50 lines
1.0 KiB
Diff
50 lines
1.0 KiB
Diff
--- configure.in.orig
|
|
+++ configure.in
|
|
@@ -252,7 +252,7 @@ SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
|
|
SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
|
|
|
|
SHLIBCC='$(CC) $(CFLAGS) -fpic'
|
|
-MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
|
|
+MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME),-version-script=$(srcdir)/../adns.sym -o'
|
|
MKSHLIB_2=''
|
|
MKSHLIB_3='-lc'
|
|
|
|
--- /dev/null
|
|
+++ adns.sym
|
|
@@ -0,0 +1,35 @@
|
|
+{
|
|
+ global:
|
|
+adns_afterselect;
|
|
+adns_beforepoll;
|
|
+adns_beforeselect;
|
|
+adns_cancel;
|
|
+adns_check;
|
|
+adns_checkconsistency;
|
|
+adns_errabbrev;
|
|
+adns_errtypeabbrev;
|
|
+adns_finish;
|
|
+adns_firsttimeout;
|
|
+adns_forallqueries_begin;
|
|
+adns_forallqueries_next;
|
|
+adns_getaddrinfo;
|
|
+adns_globalsystemfailure;
|
|
+adns_init;
|
|
+adns_init_logfn;
|
|
+adns_init_strcfg;
|
|
+adns_processany;
|
|
+adns_processexceptional;
|
|
+adns_processreadable;
|
|
+adns_processtimeouts;
|
|
+adns_processwriteable;
|
|
+adns_rr_info;
|
|
+adns_strerror;
|
|
+adns_submit;
|
|
+adns_submit_reverse;
|
|
+adns_submit_reverse_any;
|
|
+adns_synchronous;
|
|
+adns_wait;
|
|
+adns_wait_poll;
|
|
+
|
|
+local: *;
|
|
+};
|