]> git.pld-linux.org Git - packages/STLport.git/commitdiff
- don't link with libstdc++ while using stlport.
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 30 Jun 2008 10:02:28 +0000 (10:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    stlport-config.in -> 1.4
    stlport-debug.pc.in -> 1.4
    stlport.pc.in -> 1.3

stlport-config.in
stlport-debug.pc.in
stlport.pc.in

index e800933646e05f3cba67058af4e6e8eeb533da6b..c41783510077ad3244d91284394a06eaa3d1884e 100644 (file)
@@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@
 exec_prefix_set=yes
 
 usage="\
-Usage: stlport-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
+Usage: stlport-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs]"
 
 if test $# -eq 0; then
       echo "${usage}" 1>&2
@@ -39,12 +39,12 @@ while test $# -gt 0; do
       echo @VERSION@
       ;;
     --cflags)
-      includes="-I@includedir@/stlport -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 "
+      includes="-pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -isystem @includedir@/stlport "
       echo $includes
       ;;
     --libs)
       libdirs=-L@libdir@
-      echo $libdirs -lstlport -lpthread -lstdc++ -lm
+      echo -lc -nodefaultlibs $libdirs -lstlport
       ;;
     *)
       echo "${usage}" 1>&2
index 48707922f24a194bb131444f198e27429d0d5820..44b23a4bbce35a0de9914d1a9f949e91ba90d1f3 100644 (file)
@@ -6,5 +6,5 @@ Name: STLport
 Description: SGI STLPort with debug support
 Version: @ver@
 Requires:
-Libs: -L@libdir@ -lstlportstlg -lpthread -lstdc++ -lm
-Cflags: -I@includedir@/stlport -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+Libs: -nodefaultlibs -L@libdir@ -lc -lstlportstlg
+Cflags: -pthread -D_STLP_DEBUG -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -isystem @includedir@/stlport
index 500c22df4bdd524b18cdcb3132b96e105ff91a8e..46bfef0b77b63edc81119aa386d48b24d742d6f2 100644 (file)
@@ -6,5 +6,5 @@ Name: STLport
 Description: SGI STLPort
 Version: @ver@
 Requires:
-Libs: -L@libdir@ -lstlport -lpthread -lstdc++ -lm
-Cflags: -I@includedir@/stlport -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+Libs: -nodefaultlibs -L@libdir@ -lc -lstlport
+Cflags: -pthread -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -isystem @includedir@/stlport
This page took 0.039723 seconds and 4 git commands to generate.