If -shared, do not export libg.exp
authorMichael Meissner <meissner@gcc.gnu.org>
Thu, 21 Dec 1995 19:39:34 +0000 (19:39 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Thu, 21 Dec 1995 19:39:34 +0000 (19:39 +0000)
From-SVN: r10826

gcc/config/rs6000/aix41.h

index acb19f6fb44bda618c9370638cb1a74a45db8454..1b7f6b0a7ef92730004702ef5119cc9b386f62a9 100644 (file)
@@ -117,7 +117,7 @@ Boston, MA 02111-1307, USA.  */
 #undef LINK_SPEC
 #ifndef CROSS_COMPILE
 #define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
-   %{static:-bnso -bI:/lib/syscalls.exp} %{g*:-bexport:/usr/lib/libg.exp}\
+   %{static:-bnso -bI:/lib/syscalls.exp} %{!shared: %{g*:-bexport:/usr/lib/libg.exp}}\
    %{shared:-bM:SRE}"
 #else
 #define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\